Version 1
[yaffs-website] / web / core / modules / rdf / templates / rdf-wrapper.html.twig
diff --git a/web/core/modules/rdf/templates/rdf-wrapper.html.twig b/web/core/modules/rdf/templates/rdf-wrapper.html.twig
new file mode 100644 (file)
index 0000000..cfdb31e
--- /dev/null
@@ -0,0 +1,13 @@
+{#
+/**
+ * @file
+ * Default theme implementation for wrapping content with RDF attributes.
+ *
+ * Available variables:
+ * - content: The content being wrapped with RDF attributes.
+ * - attributes: HTML attributes, including RDF attributes for wrapper element.
+ *
+ * @ingroup themeable
+ */
+#}
+<span{{ attributes }}>{{ content }}</span>