Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_twitter_cards / src / Plugin / metatag / Tag / TwitterCardsLabel2.php
diff --git a/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsLabel2.php b/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsLabel2.php
new file mode 100644 (file)
index 0000000..ebd16b6
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\metatag_twitter_cards\Plugin\metatag\Tag;
+
+use \Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * Provides a plugin for the 'twitter:label2' meta tag.
+ *
+ * @MetatagTag(
+ *   id = "twitter_cards_label2",
+ *   label = @Translation("Label 2"),
+ *   description = @Translation("This field expects a string, and you can specify values for labels such as price, items in stock, sizes, etc."),
+ *   name = "twitter:label2",
+ *   group = "twitter_cards",
+ *   weight = 502,
+ *   type = "string",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class TwitterCardsLabel2 extends MetaNameBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}