TwigExtensionPass

Adds the twig_extension_hash parameter to the container.

twig_extension_hash is a hash of all extension mtimes for Twig template invalidation.

Hierarchy

  • class \Drupal\Core\DependencyInjection\Compiler\TwigExtensionPass implements CompilerPassInterface

File

core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php, line 14

Namespace

Drupal\Core\DependencyInjection\Compiler

Members

Name Modifiers Type Description
TwigExtensionPass::process public function You can modify the container here before it is dumped to PHP code. Overrides CompilerPassInterface::process
doc_Drupal
2016-10-29 09:49:43
Comments
Leave a Comment

Please login to continue.