diff --git a/core/lib/Drupal/Core/Controller/ControllerBase.php b/core/lib/Drupal/Core/Controller/ControllerBase.php index bffc23f..b89a09a 100644 --- a/core/lib/Drupal/Core/Controller/ControllerBase.php +++ b/core/lib/Drupal/Core/Controller/ControllerBase.php @@ -138,9 +138,9 @@ protected function cache($bin = 'cache') { */ protected function config($name) { if (!$this->configFactory) { - $this->configFactory = $this->container()->get('config.factory')->get($name); + $this->configFactory = $this->container()->get('config.factory'); } - return $this->configFactory; + return $this->configFactory->get($name); } /**