views-ui-view-displays-list.html.twig

Same filename in this branch
  1. 10 core/themes/stable9/templates/admin/views-ui-view-displays-list.html.twig
Same filename in other branches
  1. 9 core/themes/stable9/templates/admin/views-ui-view-displays-list.html.twig
  2. 9 core/themes/stable/templates/admin/views-ui-view-displays-list.html.twig
  3. 9 core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
  4. 8.9.x core/themes/stable/templates/admin/views-ui-view-displays-list.html.twig
  5. 8.9.x core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
  6. 11.x core/themes/stable9/templates/admin/views-ui-view-displays-list.html.twig
  7. 11.x 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

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


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.