You are here

views-ui-view-preview-section.html.twig in Drupal 10

Theme override for a views UI preview section.

Available variables:

  • title: The human readable section title.
  • links: A list of contextual links.
  • content: The content for this section preview.

File

core/themes/stable/templates/admin/views-ui-view-preview-section.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a views UI preview section.
  5. *
  6. * Available variables:
  7. * - title: The human readable section title.
  8. * - links: A list of contextual links.
  9. * - content: The content for this section preview.
  10. *
  11. * @see template_preprocess_views_ui_view_preview_section()
  12. */
  13. #}
  14. <h1 class="section-title">{{ title }}</h1>
  15. {% if links %}
  16. <div class="contextual">{{ links }}</div>
  17. {% endif %}
  18. <div class="preview-section">{{ content }}</div>