twig_extension_test.function.html.twig

Same filename in other branches
  1. 9 core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig
  2. 10 core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig
  3. 11.x core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig
<div class="testfunction">
  {{ testfunc(1) }}
</div>

<div class="testfunction">
  {{ testfunc(0) }}
</div>

File

core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig

View source
  1. <div class="testfunction">
  2. {{ testfunc(1) }}
  3. </div>
  4. <div class="testfunction">
  5. {{ testfunc(0) }}
  6. </div>

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