Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_mobile / src / Plugin / metatag / Tag / Viewport.php
diff --git a/web/modules/contrib/metatag/metatag_mobile/src/Plugin/metatag/Tag/Viewport.php b/web/modules/contrib/metatag/metatag_mobile/src/Plugin/metatag/Tag/Viewport.php
new file mode 100644 (file)
index 0000000..ffe9e82
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\metatag_mobile\Plugin\metatag\Tag\Viewport.
+ */
+
+namespace Drupal\metatag_mobile\Plugin\metatag\Tag;
+
+use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * The Viewport for Mobile metatag.
+ *
+ * @MetatagTag(
+ *   id = "viewport",
+ *   label = @Translation("Viewport"),
+ *   description = @Translation("Used by most contemporary browsers to control the display for mobile browsers. Please read a guide on responsive web design for details of what values to use."),
+ *   name = "viewport",
+ *   group = "mobile",
+ *   weight = 84,
+ *   type = "string",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class Viewport extends MetaNameBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}