twig
Same name in other branches
Class
Drupal\Core\Template\TwigEnvironmentTags
- service_collector
37 string references to twig
- ActiveTheme::__construct in core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php - Constructs an ActiveTheme object.
- core.services.yml in core/
core.services.yml - core/core.services.yml
- default.services.yml in sites/
default/ default.services.yml - sites/default/default.services.yml
- default.services.yml in core/
assets/ scaffold/ files/ default.services.yml - core/assets/scaffold/files/default.services.yml
- ExtensionDiscoveryTest::testExtensionDiscoveryVfs in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionDiscoveryTest.php - Tests extension discovery in a virtual filesystem with vfsStream.
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.