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.