theming-example-list.html.twig
Same filename in other branches
<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
- <h2>{{ title }}</h2>
- <ol class="theming-example-list">
- {% for item in items %}
- <li>{{ item }}</li>
- {% endfor %}
- </ol>