Version 1
[yaffs-website] / web / core / modules / views_ui / templates / views-ui-view-preview-section.html.twig
diff --git a/web/core/modules/views_ui/templates/views-ui-view-preview-section.html.twig b/web/core/modules/views_ui/templates/views-ui-view-preview-section.html.twig
new file mode 100644 (file)
index 0000000..cfc840f
--- /dev/null
@@ -0,0 +1,20 @@
+{#
+/**
+ * @file
+ * 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.
+ *
+ * @see template_preprocess_views_ui_view_preview_section()
+ *
+ * @ingroup themeable
+ */
+#}
+<h1 class="section-title">{{ title }}</h1>
+{% if links %}
+  <div class="contextual">{{ links }}</div>
+{% endif %}
+<div class="preview-section">{{ content }}</div>