class 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\CompilerMembers
Name | Modifiers | Type | Description |
---|---|---|---|
TwigExtensionPass::process | public | function | You can modify the container here before it is dumped to PHP code. Overrides CompilerPassInterface::process |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DependencyInjection!Compiler!TwigExtensionPass.php/class/TwigExtensionPass/8.1.x