Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_twitter_cards / src / Plugin / metatag / Tag / TwitterCardsDescription.php
diff --git a/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsDescription.php b/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsDescription.php
new file mode 100644 (file)
index 0000000..eb3cdbb
--- /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 site's description.
+ *
+ * @MetatagTag(
+ *   id = "twitter_cards_description",
+ *   label = @Translation("Description"),
+ *   description = @Translation("A description that concisely summarizes the content of the page, as appropriate for presentation within a Tweet. Do not re-use the title text as the description, or use this field to describe the general services provided by the website. The string will be truncated, by Twitter, at the word to 200 characters."),
+ *   name = "twitter:description",
+ *   group = "twitter_cards",
+ *   weight = 2,
+ *   type = "label",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class TwitterCardsDescription extends MetaNameBase {
+}