Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag_open_graph / src / Plugin / metatag / Tag / BookAuthor.php
diff --git a/web/modules/contrib/metatag/metatag_open_graph/src/Plugin/metatag/Tag/BookAuthor.php b/web/modules/contrib/metatag/metatag_open_graph/src/Plugin/metatag/Tag/BookAuthor.php
new file mode 100644 (file)
index 0000000..982e915
--- /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 "Book author" meta tag.
+ *
+ * @MetatagTag(
+ *   id = "book_author",
+ *   label = @Translation("Book author"),
+ *   description = @Translation("Links a book to an author's Facebook profile, should be either URLs to the author's profile page or their Facebook profile IDs."),
+ *   name = "book:author",
+ *   group = "open_graph",
+ *   weight = 35,
+ *   type = "label",
+ *   secure = FALSE,
+ *   multiple = TRUE
+ * )
+ */
+class BookAuthor extends MetaPropertyBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}