You are here

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

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.

File

core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  12. */
  13. #}
  14. <ul>
  15. {% for display in displays %}
  16. <li>
  17. {% if display.path %}
  18. {{ display.display }} <span data-drupal-selector="views-table-filter-text-source">({{ display.path }})</span>
  19. {% else %}
  20. {{ display.display }}
  21. {% endif %}
  22. </li>
  23. {% endfor %}
  24. </ul>

Related topics