Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_google_plus / src / Plugin / metatag / Tag / Image.php
diff --git a/web/modules/contrib/metatag/metatag_google_plus/src/Plugin/metatag/Tag/Image.php b/web/modules/contrib/metatag/metatag_google_plus/src/Plugin/metatag/Tag/Image.php
new file mode 100644 (file)
index 0000000..9fb24d7
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\metatag_google_plus\Plugin\metatag\Tag;
+
+use Drupal\metatag\Plugin\metatag\Tag\MetaItempropBase;
+
+/**
+ * The GooglePlus 'image' meta tag.
+ *
+ * @MetatagTag(
+ *   id = "google_plus_image",
+ *   label = @Translation("Image"),
+ *   description = @Translation("The URL of an image which should represent the content. For best results use an image that is at least 1200 x 630 pixels in size, but at least 600 x 316 pixels is a recommended minimum. Supports PNG, JPEG and GIF formats."),
+ *   name = "itemprop:image",
+ *   group = "google_plus",
+ *   weight = 3,
+ *   type = "image",
+ *   secure = FALSE,
+ *   multiple = TRUE
+ * )
+ */
+class Image extends MetaItempropBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}