You are here

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

Default theme implementation 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/modules/views_ui/templates/views-ui-view-preview-section.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  14. */
  15. #}
  16. <h1 class="section-title">{{ title }}</h1>
  17. {% if links %}
  18. <div class="contextual">{{ links }}</div>
  19. {% endif %}
  20. <div class="preview-section">{{ content }}</div>

Related topics