twig
Same name and namespace in other branches
Class
Drupal\Core\Template\TwigEnvironmentTags
- service_collector
44 string references to twig
- ActiveTheme::__construct in core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php - Constructs an ActiveTheme object.
- CKEditor5CodeSyntaxTest::testCKEditor5CodeSyntax in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5CodeSyntaxTest.php - Tests code block configured languages are respected.
- ComponentNodeVisitorTest::testDebugRendersComponentStartWithVariant in core/
tests/ Drupal/ KernelTests/ Components/ ComponentNodeVisitorTest.php - Test debug output for sdc components with component id and variant.
- ComponentPluginManager::alterDefinition in core/
modules/ sdc/ src/ ComponentPluginManager.php - Alters the plugin definition with computed properties.
- ComponentPluginManager::alterDefinition in core/
lib/ Drupal/ Core/ Theme/ ComponentPluginManager.php - Alters the plugin definition with computed properties.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Template\TwigEnvironment
- arguments:
- - '%app.root%'
- - '@cache.default'
- - '%twig_extension_hash%'
- - '@state'
- - '@twig.loader'
- - '%twig.config%'
- tags:
- - { name: service_collector, tag: twig.extension, call: addExtension }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.