Version 1
[yaffs-website] / web / modules / contrib / metatag / src / Plugin / DataType / Metatag.php
diff --git a/web/modules/contrib/metatag/src/Plugin/DataType/Metatag.php b/web/modules/contrib/metatag/src/Plugin/DataType/Metatag.php
new file mode 100644 (file)
index 0000000..fb74c6d
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+namespace Drupal\metatag\Plugin\DataType;
+
+use \Drupal\Core\TypedData\Plugin\DataType\StringData;
+
+/**
+ * The metatag data type.
+ *
+ * The plain value of a metatag is a serialized object represented as a string.
+ *
+ * @DataType(
+ *  id = "metatag",
+ *  label = @Translation("Metatag")
+ * )
+ */
+class Metatag extends StringData implements MetatagInterface {
+
+}