service twig in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/core.services.yml \twig
Class
Drupal\Core\Template\TwigEnvironmentTags
- service_collector
23 string references to twig
- ActiveTheme::__construct in core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php - Constructs an ActiveTheme object.
- GetFilenameUnitTest::testDrupalGetFilename in core/
modules/ system/ src/ Tests/ Bootstrap/ GetFilenameUnitTest.php - Tests that drupal_get_filename() works when the file is not in database.
- hook_render_template in core/
lib/ Drupal/ Core/ Render/ theme.api.php - Render a template using the theme engine.
- HtaccessTest::getProtectedFiles in core/
modules/ system/ src/ Tests/ System/ HtaccessTest.php - Get an array of file paths for access testing.
- InlineTemplate::preRenderInlineTemplate in core/
lib/ Drupal/ Core/ Render/ Element/ InlineTemplate.php - Renders a twig string directly.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Template\TwigEnvironment
- arguments:
- - '@app.root'
- - '@cache.default'
- - '%twig_extension_hash%'
- - '@twig.loader'
- - '%twig.config%'
- tags:
- - { name: service_collector, tag: twig.extension, call: addExtension }