Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / paragraphs / templates / paragraphs-info-icon.html.twig
diff --git a/web/modules/contrib/paragraphs/templates/paragraphs-info-icon.html.twig b/web/modules/contrib/paragraphs/templates/paragraphs-info-icon.html.twig
new file mode 100644 (file)
index 0000000..67c91a6
--- /dev/null
@@ -0,0 +1,17 @@
+{#
+/**
+ * @file
+ * Default theme implementation for a paragraphs info icon.
+ *
+ * Available variables:
+ * - icon: Name of the icon to use.
+ * - message: Information message.
+ *
+ * @see template_preprocess()
+ *
+ * @ingroup themeable
+ */
+#}
+<span class="paragraphs-icon paragraphs-icon-{{ icon }}" title="{{ message }}">
+  <span class="paragraphs-icon__message visually-hidden">{{ message }}</span>
+</span>