twig.loader.filesystem

Same name in other branches
  1. 8.9.x core/core.services.yml \twig.loader.filesystem
  2. 10 core/core.services.yml \twig.loader.filesystem

Class

Drupal\Core\Template\Loader\FilesystemLoader

Tags

  • twig.loader
1 string reference to twig.loader.filesystem
TwigIncludeTest::testTemplateInclusion in core/modules/system/tests/src/Kernel/Theme/TwigIncludeTest.php
Tests template inclusion extension checking.

File

core/core.services.yml

View source
  1. class: Drupal\Core\Template\Loader\FilesystemLoader
  2. arguments:
  3. - .
  4. - '@module_handler'
  5. - '@theme_handler'
  6. - '%twig.config%'
  7. tags:
  8. - { name: twig.loader, priority: 100 }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.