Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_twitter_cards / src / Plugin / metatag / Tag / TwitterCardsPageUrl.php
diff --git a/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsPageUrl.php b/web/modules/contrib/metatag/metatag_twitter_cards/src/Plugin/metatag/Tag/TwitterCardsPageUrl.php
new file mode 100644 (file)
index 0000000..d1f53e3
--- /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 page url metatag.
+ *
+ * @MetatagTag(
+ *   id = "twitter_cards_page_url",
+ *   label = @Translation("Page URL"),
+ *   description = @Translation("The permalink / canonical URL of the current page."),
+ *   name = "twitter:url",
+ *   group = "twitter_cards",
+ *   weight = 6,
+ *   type = "uri",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class TwitterCardsPageUrl extends MetaNameBase {
+}