Version 1
[yaffs-website] / web / modules / contrib / bootstrap_layouts / templates / 3.0.0 / bs-4col.html.twig
diff --git a/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-4col.html.twig b/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-4col.html.twig
new file mode 100644 (file)
index 0000000..0a1f289
--- /dev/null
@@ -0,0 +1,49 @@
+{#
+/**
+ * @file
+ * Bootstrap Layouts: "4 Columns" template.
+ *
+ * Available layout variables:
+ * - wrapper: Wrapper element for the layout container.
+ * - attributes: Wrapper attributes for the layout container.
+ *
+ * Available region variables:
+ * - first
+ * - second
+ * - third
+ * - fourth
+ *
+ * Each region variable contains the following properties:
+ * - wrapper: The HTML element to use to wrap this region.
+ * - attributes: The HTML attributes to use on the wrapper for this region.
+ * - content: The content to go inside the wrapper for this region.
+ */
+#}
+<{{ wrapper }}{{ attributes }}>
+  {{ title_suffix.contextual_links }}
+
+  {% if first.content %}
+  <{{ first.wrapper }}{{ first.attributes }}>
+    {{ first.content }}
+  </{{ first.wrapper }}>
+  {% endif %}
+
+  {% if second.content %}
+  <{{ second.wrapper }}{{ second.attributes }}>
+    {{ second.content }}
+  </{{ second.wrapper }}>
+  {% endif %}
+
+  {% if third.content %}
+  <{{ third.wrapper }}{{ third.attributes }}>
+    {{ third.content }}
+  </{{ third.wrapper }}>
+  {% endif %}
+
+  {% if fourth.content %}
+  <{{ fourth.wrapper }}{{ fourth.attributes }}>
+    {{ fourth.content }}
+  </{{ fourth.wrapper }}>
+  {% endif %}
+
+</{{ wrapper }}>