class BootstrapUpdate in Express 8
Defines a BootstrapUpdate annotation object.
Plugin Namespace: "Plugin/Update".
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\bootstrap\Annotation\BootstrapUpdate
Expanded class hierarchy of BootstrapUpdate
See also
\Drupal\bootstrap\Plugin\UpdateInterface
\Drupal\bootstrap\Plugin\UpdateManager
File
- themes/
contrib/ bootstrap/ src/ Annotation/ BootstrapUpdate.php, line 24 - Contains \Drupal\bootstrap\Annotation\BootstrapUpdate.
Namespace
Drupal\bootstrap\AnnotationView source
class BootstrapUpdate extends Plugin {
/**
* The schema version.
*
* @var int
*/
public $id = '';
/**
* A short human-readable label.
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label = '';
/**
* A detailed description.
*
* @var \Drupal\Core\Annotation\Translation
*/
public $description = '';
/**
* Level of severity. Should be one of: default, danger, info, warning.
*
* @var string
*/
public $severity = 'default';
/**
* Indicates whether or not the update should apply only to itself
* (the theme that implemented the plugin) and none of its sub-themes.
*
* @var bool
*/
public $private = FALSE;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BootstrapUpdate:: |
public | property | A detailed description. | |
BootstrapUpdate:: |
public | property | The schema version. | |
BootstrapUpdate:: |
public | property | A short human-readable label. | |
BootstrapUpdate:: |
public | property | Indicates whether or not the update should apply only to itself (the theme that implemented the plugin) and none of its sub-themes. | |
BootstrapUpdate:: |
public | property | Level of severity. Should be one of: default, danger, info, warning. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |