Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_mobile / src / Plugin / metatag / Tag / MsapplicationBadge.php
diff --git a/web/modules/contrib/metatag/metatag_mobile/src/Plugin/metatag/Tag/MsapplicationBadge.php b/web/modules/contrib/metatag/metatag_mobile/src/Plugin/metatag/Tag/MsapplicationBadge.php
new file mode 100644 (file)
index 0000000..5ba64b4
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\metatag_mobile\Plugin\metatag\Tag\MsapplicationBadge.
+ */
+
+namespace Drupal\metatag_mobile\Plugin\metatag\Tag;
+
+use \Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * Provides a plugin for the 'msapplication:badge' meta tag.
+ *
+ * @MetatagTag(
+ *   id = "msapplication_badge",
+ *   label = @Translation("MSApplication - Badge"),
+ *   description = @Translation("A semi-colon -separated string that must contain the 'polling-uri=' value with the full URL to a <a href='http://go.microsoft.com/fwlink/p/?LinkID=314019'>Badge Schema XML file</a>. May also contain 'frequency=' value set to either 30, 60, 360, 720 or 1440 (default) which specifies (in minutes) how often the URL should be polled."),
+ *   name = "msapplication-badge",
+ *   group = "windows_mobile",
+ *   weight = 97,
+ *   type = "string",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class MsapplicationBadge extends MetaNameBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}