Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_open_graph / src / Plugin / metatag / Tag / ArticlePublisher.php
diff --git a/web/modules/contrib/metatag/metatag_open_graph/src/Plugin/metatag/Tag/ArticlePublisher.php b/web/modules/contrib/metatag/metatag_open_graph/src/Plugin/metatag/Tag/ArticlePublisher.php
new file mode 100644 (file)
index 0000000..5a06bf1
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\metatag_open_graph\Plugin\metatag\Tag;
+
+use \Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;
+
+/**
+ * The Open Graph "Article publisher" meta tag.
+ *
+ * @MetatagTag(
+ *   id = "article_publisher",
+ *   label = @Translation("Article publisher"),
+ *   description = @Translation("Links an article to a publisher's Facebook page."),
+ *   name = "article:publisher",
+ *   group = "open_graph",
+ *   weight = 29,
+ *   type = "label",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class ArticlePublisher extends MetaPropertyBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}