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