Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag_pinterest / src / Plugin / metatag / Tag / PinterestId.php
diff --git a/web/modules/contrib/metatag/metatag_pinterest/src/Plugin/metatag/Tag/PinterestId.php b/web/modules/contrib/metatag/metatag_pinterest/src/Plugin/metatag/Tag/PinterestId.php
new file mode 100644 (file)
index 0000000..346a197
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\metatag_pinterest\Plugin\metatag\Tag;
+
+use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;
+
+/**
+ * Provides a plugin for the 'pin:id' meta tag.
+ *
+ * @MetatagTag(
+ *   id = "pinterest_id",
+ *   label = @Translation("Id"),
+ *   description = @Translation("The Canonical Pinterest object to pin."),
+ *   name = "pin:id",
+ *   group = "pinterest",
+ *   weight = 5,
+ *   type = "string",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class PinterestId extends MetaPropertyBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}