file BootstrapUpdate.php

Namespace

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

Classes

Name Description
BootstrapUpdate Defines a BootstrapUpdate annotation object.