Version 1
[yaffs-website] / web / core / themes / stable / templates / admin / block-content-add-list.html.twig
diff --git a/web/core/themes/stable/templates/admin/block-content-add-list.html.twig b/web/core/themes/stable/templates/admin/block-content-add-list.html.twig
new file mode 100644 (file)
index 0000000..ae99d1f
--- /dev/null
@@ -0,0 +1,22 @@
+{#
+/**
+ * @file
+ * Theme override 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()
+ */
+#}
+{% spaceless %}
+  <dl>
+    {% for type in types %}
+      <dt>{{ type.link }}</dt>
+      <dd>{{ type.description }}</dd>
+    {% endfor %}
+  </dl>
+{% endspaceless %}