views-ui-view-preview-section.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
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.
1 theme call to views-ui-view-preview-section.html.twig
- views_ui_preprocess_views_view in core/
modules/ views_ui/ views_ui.module - Implements hook_preprocess_HOOK() for views templates.
File
core/themes/stable/templates/admin/views-ui-view-preview-section.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- * @see template_preprocess_views_ui_view_preview_section()
- */
- #}
- <h1 class="section-title">{{ title }}</h1>
- {% if links %}
- <div class="contextual">{{ links }}</div>
- {% endif %}
- <div class="preview-section">{{ content }}</div>