theme-test-deprecations-hook-theme.html.twig

Same filename in other branches
  1. 11.x core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-hook-theme.html.twig
{# Test variables deprecated in hook_theme(). #}
{{ foo }}
1 theme call to theme-test-deprecations-hook-theme.html.twig
TwigDeprecationsTest::testHookThemeDeprecations in core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php
Test deprecating variables at definition in hook_theme().

File

core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-hook-theme.html.twig

View source
  1. {# Test variables deprecated in hook_theme(). #}
  2. {{ foo }}

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