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. 8.9.x core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig
  3. 10 core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig
<div class="test-function">
  {{ custom_function(1) }}
</div>

<div class="test-function">
  {{ custom_function(0) }}
</div>

File

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

View source
  1. <div class="test-function">
  2. {{ custom_function(1) }}
  3. </div>
  4. <div class="test-function">
  5. {{ custom_function(0) }}
  6. </div>

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