views-ui-view-displays-list.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/views-ui-view-displays-list.html.twig
- 9 core/themes/stable/templates/admin/views-ui-view-displays-list.html.twig
- 9 core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
- 8.9.x core/themes/stable/templates/admin/views-ui-view-displays-list.html.twig
- 8.9.x core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
- 10 core/themes/stable9/templates/admin/views-ui-view-displays-list.html.twig
- 10 core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
Default theme implementation for views displays on the views listing page.
Available variables:
- displays: Contains multiple display instances. Each display contains:
- display: Display name.
- path: Path to display, if any.
1 theme call to views-ui-view-displays-list.html.twig
- ViewListBuilder::buildRow in core/
modules/ views_ui/ src/ ViewListBuilder.php - Builds a row for an entity in the entity listing.
File
-
core/
modules/ views_ui/ templates/ views-ui-view-displays-list.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for views displays on the views listing page.
- *
- * Available variables:
- * - displays: Contains multiple display instances. Each display contains:
- * - display: Display name.
- * - path: Path to display, if any.
- *
- * @ingroup themeable
- */
- #}
- <ul>
- {% for display in displays %}
- <li>
- {% if display.path %}
- {{ display.display }} <span data-drupal-selector="views-table-filter-text-source">({{ display.path }})</span>
- {% else %}
- {{ display.display }}
- {% endif %}
- </li>
- {% endfor %}
- </ul>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.