class BootstrapUpdate

Defines a BootstrapUpdate annotation object.

Plugin Namespace: "Plugin/Update".

Hierarchy

  • class \Drupal\bootstrap\Annotation\BootstrapUpdate extends \Drupal\Component\Annotation\Plugin

Expanded class hierarchy of BootstrapUpdate

See Also

Related topics

Namespace

Drupal\bootstrap\Annotation
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.
   *
   * Only the theme that implemented the plugin and none of its sub-themes.
   *
   * @var bool
   */
  public $private = FALSE;

}

Members

Contains filters are case sensitive
Name Modifiers Type Description
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.
BootstrapUpdate::$severity public property Level of severity. Should be one of: default, danger, info, warning.