19de0b5ff4706ffc73760e6c39099b520ee6a9e1
[yaffs-website] / web / themes / contrib / bootstrap / src / Annotation / BootstrapUpdate.php
1 <?php
2 /**
3  * @file
4  * Contains \Drupal\bootstrap\Annotation\BootstrapUpdate.
5  */
6
7 namespace Drupal\bootstrap\Annotation;
8
9 use Drupal\Component\Annotation\Plugin;
10
11 /**
12  * Defines a BootstrapUpdate annotation object.
13  *
14  * Plugin Namespace: "Plugin/Update".
15  *
16  * @see \Drupal\bootstrap\Plugin\UpdateInterface
17  * @see \Drupal\bootstrap\Plugin\UpdateManager
18  * @see plugin_api
19  *
20  * @Annotation
21  *
22  * @ingroup plugins_update
23  */
24 class BootstrapUpdate extends Plugin {
25
26   /**
27    * The schema version.
28    *
29    * @var int
30    */
31   public $id = '';
32
33   /**
34    * A short human-readable label.
35    *
36    * @var \Drupal\Core\Annotation\Translation
37    */
38   public $label = '';
39
40   /**
41    * A detailed description.
42    *
43    * @var \Drupal\Core\Annotation\Translation
44    */
45   public $description = '';
46
47   /**
48    * Level of severity. Should be one of: default, danger, info, warning.
49    *
50    * @var string
51    */
52   public $severity = 'default';
53
54   /**
55    * Indicates whether or not the update should apply only to itself
56    * (the theme that implemented the plugin) and none of its sub-themes.
57    *
58    * @var bool
59    */
60   public $private = FALSE;
61
62
63 }