Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_twitter_cards / src / Plugin / metatag / Tag / TwitterCardsCreatorId.php
diff --git a/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsCreatorId.php b/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsCreatorId.php
new file mode 100644 (file)
index 0000000..28ec9a9
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace Drupal\metatag_twitter_cards\Plugin\metatag\Tag;
+
+use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * The Twitter Cards creator id metatag.
+ *
+ * @MetatagTag(
+ *   id = "twitter_cards_creator_id",
+ *   label = @Translation("Creator's Twitter account ID"),
+ *   description = @Translation("The numerical Twitter account ID for the content creator / author for this page."),
+ *   name = "twitter:creator:id",
+ *   group = "twitter_cards",
+ *   weight = 4,
+ *   type = "string",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class TwitterCardsCreatorId extends MetaNameBase {
+}