Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag_pinterest / src / Plugin / metatag / Tag / PinterestDescription.php
diff --git a/web/modules/contrib/metatag/metatag_pinterest/src/Plugin/metatag/Tag/PinterestDescription.php b/web/modules/contrib/metatag/metatag_pinterest/src/Plugin/metatag/Tag/PinterestDescription.php
new file mode 100644 (file)
index 0000000..bd3fe2e
--- /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:description' meta tag.
+ *
+ * @MetatagTag(
+ *   id = "pinterest_description",
+ *   label = @Translation("Description"),
+ *   description = @Translation("A one to two sentence description of the content."),
+ *   name = "pin:description",
+ *   group = "pinterest",
+ *   weight = 8,
+ *   type = "label",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class PinterestDescription extends MetaPropertyBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}