Version 1
[yaffs-website] / web / modules / contrib / token / templates / token-tree-link.html.twig
diff --git a/web/modules/contrib/token/templates/token-tree-link.html.twig b/web/modules/contrib/token/templates/token-tree-link.html.twig
new file mode 100644 (file)
index 0000000..aaf708e
--- /dev/null
@@ -0,0 +1,19 @@
+{#
+/**
+ * @file
+ * Default theme implementation for the token tree link.
+ *
+ * Available variables:
+ * - url: The URL to the token tree page.
+ * - text: The text to be displayed in the link.
+ * - attributes: Attributes for the anchor tag.
+ * - link: The complete link.
+ *
+ * @see template_preprocess_token_tree_link()
+ *
+ * @ingroup themeable
+ */
+#}
+{% if link -%}
+  {{ link }}
+{%- endif %}