You are here

views-ui-view-displays-list.html.twig in Drupal 10

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.

File

core/themes/stable/templates/admin/views-ui-view-displays-list.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for views displays on the views listing page.
  5. *
  6. * Available variables:
  7. * - displays: Contains multiple display instances. Each display contains:
  8. * - display: Display name.
  9. * - path: Path to display, if any.
  10. */
  11. #}
  12. <ul>
  13. {% for display in displays %}
  14. <li>
  15. {% if display.path %}
  16. {{ display.display }} <span data-drupal-selector="views-table-filter-text-source">({{ display.path }})</span>
  17. {% else %}
  18. {{ display.display }}
  19. {% endif %}
  20. </li>
  21. {% endfor %}
  22. </ul>