Version 1
[yaffs-website] / web / core / modules / block_content / templates / block-content-add-list.html.twig
diff --git a/web/core/modules/block_content/templates/block-content-add-list.html.twig b/web/core/modules/block_content/templates/block-content-add-list.html.twig
new file mode 100644 (file)
index 0000000..0810461
--- /dev/null
@@ -0,0 +1,24 @@
+{#
+/**
+ * @file
+ * Default theme implementation to present a list of custom block types.
+ *
+ * Available variables:
+ * - types: A collection of all the available custom block types.
+ *   Each block type contains the following:
+ *   - link: A link to add a block of this type.
+ *   - description: A description of this custom block type.
+ *
+ * @see template_preprocess_block_content_add_list()
+ *
+ * @ingroup themeable
+ */
+#}
+{% spaceless %}
+  <dl>
+    {% for type in types %}
+      <dt>{{ type.link }}</dt>
+      <dd>{{ type.description }}</dd>
+    {% endfor %}
+  </dl>
+{% endspaceless %}