diff --git a/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php b/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php index 47fa7b1..36b51e3 100644 --- a/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php +++ b/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php @@ -74,12 +74,12 @@ public function submitForm(array &$form, array &$form_state) { /** * {@inheritdoc} */ - protected function config() { + protected function config($name) { if (!$this->configFactory) { $container = $this->container(); $this->configFactory = $container->get('config.factory'); $this->configFactory->enterContext($container->get('config.context.free')); } - return $this->configFactory; + return $this->configFactory->get($name); } }