Yaffs site version 1.1
[yaffs-website] / web / modules / contrib / metatag / src / Annotation / MetatagTag.php
1 <?php
2
3 namespace Drupal\metatag\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7
8 /**
9  * Defines a MetatagTag annotation object.
10  *
11  * @Annotation
12  */
13 class MetatagTag extends Plugin {
14
15   /**
16    * The meta tag plugin's internal ID, in machine name format.
17    *
18    * @var string
19    */
20   public $id;
21
22   /**
23    * The display label/name of the meta tag plugin.
24    *
25    * @var \Drupal\Core\Annotation\Translation
26    *
27    * @ingroup plugin_translatable
28    */
29   public $label;
30
31   /**
32    * A longer explanation of what the field is for.
33    *
34    * @var \Drupal\Core\Annotation\Translation
35    *
36    * @ingroup plugin_translatable
37    */
38   public $description;
39
40   /**
41    * Proper name of the actual meta tag itself.
42    *
43    * @var string
44    */
45   public $name;
46
47   /**
48    * The group this meta tag fits in, corresponds to a MetatagGroup plugin.
49    *
50    * @var string
51    */
52   public $group;
53
54   /**
55    * Weight of the tag.
56    *
57    * @var int
58    */
59   public $weight;
60
61   /**
62    * Type of the meta tag should be either 'date', 'image', 'integer', 'label',
63    * 'string' or 'uri'.
64    *
65    * @var string
66    */
67   public $type;
68
69   /**
70    * True if URL must use HTTPS.
71    *
72    * @var boolean
73    */
74   protected $secure;
75
76   /**
77    * True if more than one is allowed.
78    *
79    * @var boolean
80    */
81   public $multiple;
82
83 }