Version 1
[yaffs-website] / web / modules / contrib / metatag / src / Plugin / metatag / Tag / GeoRegion.php
diff --git a/web/modules/contrib/metatag/src/Plugin/metatag/Tag/GeoRegion.php b/web/modules/contrib/metatag/src/Plugin/metatag/Tag/GeoRegion.php
new file mode 100644 (file)
index 0000000..f07ce74
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\metatag\Plugin\metatag\Tag;
+
+use \Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * Provides a plugin for the 'geo.region' meta tag.
+ *
+ * @MetatagTag(
+ *   id = "geo_region",
+ *   label = @Translation("Geographical region"),
+ *   description = @Translation("A location's two-letter international country code, with an optional two-letter region, e.g. 'US-NH' for New Hampshire in the USA."),
+ *   name = "geo.region",
+ *   group = "advanced",
+ *   weight = 0,
+ *   type = "label",
+ *   secure = 0,
+ *   multiple = FALSE
+ * )
+ */
+class GeoRegion extends MetaNameBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}