theming-example-list.html.twig

Same filename in other branches
  1. 4.0.x modules/theming_example/templates/theming-example-list.html.twig
<h2>{{ title }}</h2>
<ol class="theming-example-list">
{% for item in items %}
  <li>{{ item }}</li>
{% endfor %}
</ol>
1 theme call to theming-example-list.html.twig
ThemingPageController::list in modules/theming_example/src/Controller/ThemingPageController.php
The list page callback.

File

modules/theming_example/templates/theming-example-list.html.twig

View source
  1. <h2>{{ title }}</h2>
  2. <ol class="theming-example-list">
  3. {% for item in items %}
  4. <li>{{ item }}</li>
  5. {% endfor %}
  6. </ol>