diff --git a/core/lib/Drupal/Core/Template/TwigEnvironment.php b/core/lib/Drupal/Core/Template/TwigEnvironment.php index 4e794e5dcb5..e10a1a913a5 100644 --- a/core/lib/Drupal/Core/Template/TwigEnvironment.php +++ b/core/lib/Drupal/Core/Template/TwigEnvironment.php @@ -105,7 +105,7 @@ class TwigEnvironment extends \Twig_Environment { */ protected function storage() { if (!isset($this->storage)) { - $this->storage = PhpStorageFactory::get('service_container'); + $this->storage = PhpStorageFactory::get('twig'); } return $this->storage; }