views-ui-view-info.html.twig

Same filename in this branch
  1. 9 core/themes/stable9/templates/admin/views-ui-view-info.html.twig
  2. 9 core/modules/views_ui/templates/views-ui-view-info.html.twig
Same filename in other branches
  1. 8.9.x core/themes/stable/templates/admin/views-ui-view-info.html.twig
  2. 8.9.x core/modules/views_ui/templates/views-ui-view-info.html.twig
  3. 10 core/themes/stable9/templates/admin/views-ui-view-info.html.twig
  4. 10 core/modules/views_ui/templates/views-ui-view-info.html.twig
  5. 11.x core/themes/stable9/templates/admin/views-ui-view-info.html.twig
  6. 11.x core/modules/views_ui/templates/views-ui-view-info.html.twig

Theme override for basic administrative info about a View.

Available variables:

  • displays: List of displays.

File

core/themes/stable/templates/admin/views-ui-view-info.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for basic administrative info about a View.
  5. *
  6. * Available variables:
  7. * - displays: List of displays.
  8. */
  9. #}
  10. <h3 class="views-ui-view-title" data-drupal-selector="views-table-filter-text-source">{{ view.label }}</h3>
  11. <div class="views-ui-view-displays">
  12. {% if displays %}
  13. {% trans %}
  14. Display
  15. {% plural displays %}
  16. Displays
  17. {% endtrans %}:
  18. <em>{{ displays|safe_join(', ') }}</em>
  19. {% else %}
  20. {{ 'None'|t }}
  21. {% endif %}
  22. </div>
  23. <div class="views-ui-view-machine-name">
  24. {{ 'Machine name:'|t }}
  25. <span data-drupal-selector="views-table-filter-text-source">{{ view.id }}</span>
  26. </div>

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