diff --git a/core/lib/Drupal/Core/Template/TwigEnvironment.php b/core/lib/Drupal/Core/Template/TwigEnvironment.php index cae272f..53d9713 100644 --- a/core/lib/Drupal/Core/Template/TwigEnvironment.php +++ b/core/lib/Drupal/Core/Template/TwigEnvironment.php @@ -102,15 +102,12 @@ public function updateCompiledTemplate($cache_filename, $name) { /** * {@inheritdoc} */ - /** - * @inheritDoc - */ public function getCacheFilename($name) { // We override the cache filename in order to avoid issues with not using // shared filesystems. The twig templates for example rely on available - // twig extensions, so we need into account the list of active modules. - // Additional, we should take into account the deployment indicator, much - // like for the container itself. + // twig extensions, so we need to take into account the list of active + // modules and the deployment identifier, much like for the container + // itself. if (!$this->cache) { return FALSE; @@ -123,7 +120,6 @@ public function getCacheFilename($name) { return $this->getCache() . '/' . substr($class, 0, 2) . '/' . substr($class, 2, 2) . '/' . substr($class, 4) . $hash . '.php'; } - /** * Implements Twig_Environment::loadTemplate(). *