views-ui-view-preview-section.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/views-ui-view-preview-section.html.twig
- 9 core/themes/stable/templates/admin/views-ui-view-preview-section.html.twig
- 9 core/modules/views_ui/templates/views-ui-view-preview-section.html.twig
- 8.9.x core/themes/stable/templates/admin/views-ui-view-preview-section.html.twig
- 8.9.x core/modules/views_ui/templates/views-ui-view-preview-section.html.twig
- 11.x core/themes/stable9/templates/admin/views-ui-view-preview-section.html.twig
- 11.x core/modules/views_ui/templates/views-ui-view-preview-section.html.twig
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 also
template_preprocess_views_ui_view_preview_section()
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/ stable9/ templates/ admin/ views-ui-view-preview-section.html.twig
View 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>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.