views-ui-view-displays-list.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Theme override 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/themes/stable9/templates/admin/views-ui-view-displays-list.html.twigView source
- {#
- /**
- * @file
- * Theme override 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.
- */
- #}
- <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>