twig_theme_test.php_variables.html.twig

Same filename in other branches
  1. 9 core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig
  2. 8.9.x core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig
  3. 10 core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig
{# Output for Twig Theme PHP variables test. #}
<ul>
{% for key, php_value in php_values %}
  <li>{{ key }}: {{ php_value.value }}</li>
{% endfor %}
</ul>

File

core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig

View source
  1. {# Output for Twig Theme PHP variables test. #}
  2. <ul>
  3. {% for key, php_value in php_values %}
  4. <li>{{ key }}: {{ php_value.value }}</li>
  5. {% endfor %}
  6. </ul>

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