You are here

BootstrapUpdate.php in Express 8

File

themes/contrib/bootstrap/src/Annotation/BootstrapUpdate.php
View source
<?php

/**
 * @file
 * Contains \Drupal\bootstrap\Annotation\BootstrapUpdate.
 */
namespace Drupal\bootstrap\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a BootstrapUpdate annotation object.
 *
 * Plugin Namespace: "Plugin/Update".
 *
 * @see \Drupal\bootstrap\Plugin\UpdateInterface
 * @see \Drupal\bootstrap\Plugin\UpdateManager
 * @see plugin_api
 *
 * @Annotation
 *
 * @ingroup plugins_update
 */
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;

}

Classes

Namesort descending Description
BootstrapUpdate Defines a BootstrapUpdate annotation object.