service twig in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \twig
- 9 core/core.services.yml \twig
Class
Drupal\Core\Template\TwigEnvironmentTags
- service_collector
35 string references to twig
- ActiveTheme::__construct in core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php - Constructs an ActiveTheme object.
- drupal_flush_all_caches in core/
includes/ common.inc - Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures.
- ExtensionDiscoveryTest::testExtensionDiscoveryVfs in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionDiscoveryTest.php - Tests extension discovery in a virtual filesystem with vfsStream.
- ExtensionPathResolverTest::testExtensionPathResolving in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ExtensionPathResolverTest.php - @covers ::getPathname
- FrontMatterTest::createTwigTemplate in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ FrontMatterTest.php - Creates a new temporary Twig file.
File
- core/
core.services.yml - 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 }