You are here

class BootstrapUpdate in Express 8

Defines a BootstrapUpdate annotation object.

Plugin Namespace: "Plugin/Update".

Hierarchy

Expanded class hierarchy of BootstrapUpdate

See also

\Drupal\bootstrap\Plugin\UpdateInterface

\Drupal\bootstrap\Plugin\UpdateManager

Plugin API

File

themes/contrib/bootstrap/src/Annotation/BootstrapUpdate.php, line 24
Contains \Drupal\bootstrap\Annotation\BootstrapUpdate.

Namespace

Drupal\bootstrap\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
BootstrapUpdate::$description public property A detailed description.
BootstrapUpdate::$id public property The schema version.
BootstrapUpdate::$label public property A short human-readable label.
BootstrapUpdate::$private 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::$severity public property Level of severity. Should be one of: default, danger, info, warning.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2