views-ui-view-info.html.twig

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

Default theme implementation for basic administrative info about a View.

Available variables:

  • displays: List of displays.

File

core/modules/views_ui/templates/views-ui-view-info.html.twig

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

Related topics


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