Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_mobile / src / Plugin / metatag / Tag / HandheldFriendly.php
diff --git a/web/modules/contrib/metatag/metatag_mobile/src/Plugin/metatag/Tag/HandheldFriendly.php b/web/modules/contrib/metatag/metatag_mobile/src/Plugin/metatag/Tag/HandheldFriendly.php
new file mode 100644 (file)
index 0000000..a1e9abb
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\metatag_mobile\Plugin\metatag\Tag\HandheldFriendly.
+ */
+
+namespace Drupal\metatag_mobile\Plugin\metatag\Tag;
+
+use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * The Handheld Friendly for Mobile metatag.
+ *
+ * @MetatagTag(
+ *   id = "handheldfriendly",
+ *   label = @Translation("Handheld-Friendly"),
+ *   description = @Translation("Some older mobile browsers will expect this meta tag to be set to 'true' to indicate that the site has been designed with mobile browsers in mind."),
+ *   name = "HandheldFriendly",
+ *   group = "mobile",
+ *   weight = 83,
+ *   type = "string",
+ *   secure = FALSE,
+ *   multiple = TRUE
+ * )
+ */
+class HandheldFriendly extends MetaNameBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}