service twig.extension in Drupal 8
Same name and namespace in other branches
- 9 core/core.services.yml \twig.extension
Class
Drupal\Core\Template\TwigExtensionTags
- twig.extension
4 string references to twig.extension
- TwigExtensionPass::process in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ TwigExtensionPass.php - You can modify the container here before it is dumped to PHP code.
- TwigExtensionTest::testsRenderEscapedZeroValue in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigExtensionTest.php - Tests output of integer and double 0 values of TwigExtension::escapeFilter().
- TwigExtensionTest::testsRenderZeroValue in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigExtensionTest.php - Tests output of integer and double 0 values of TwigExtension->renderVar().
- twig_without in core/
themes/ engines/ twig/ twig.engine - Removes child elements from a copy of the original array.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Template\TwigExtension
- arguments:
- - '@renderer'
- - '@url_generator'
- - '@theme.manager'
- - '@date.formatter'
- tags:
- - { name: twig.extension, priority: 100 }