Version 1
[yaffs-website] / web / modules / contrib / metatag / metatag_dc / src / Plugin / metatag / Tag / Date.php
diff --git a/web/modules/contrib/metatag/metatag_dc/src/Plugin/metatag/Tag/Date.php b/web/modules/contrib/metatag/metatag_dc/src/Plugin/metatag/Tag/Date.php
new file mode 100644 (file)
index 0000000..f66352a
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\metatag_dc\Plugin\metatag\Tag;
+
+use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
+
+/**
+ * The Dublin Core "Date" meta tag.
+ *
+ * @MetatagTag(
+ *   id = "dcterms_date",
+ *   label = @Translation("Date"),
+ *   description = @Translation("A point or period of time associated with an event in the lifecycle of the resource. Date may be used to express temporal information at any level of granularity.  Recommended best practice is to use an encoding scheme, such as the W3CDTF profile of ISO 8601 [W3CDTF]."),
+ *   name = "dcterms.date",
+ *   group = "dublin_core",
+ *   weight = 7,
+ *   type = "label",
+ *   secure = FALSE,
+ *   multiple = FALSE
+ * )
+ */
+class Date extends MetaNameBase {
+  // Nothing here yet. Just a placeholder class for a plugin.
+}