You are here

public function UpdateBase::getSeverity in Express 8

Retrieves the update severity level.

Return value

string The update severity level.

Overrides UpdateInterface::getSeverity

1 call to UpdateBase::getSeverity()
UpdateBase::getLevel in themes/contrib/bootstrap/src/Plugin/Update/UpdateBase.php

File

themes/contrib/bootstrap/src/Plugin/Update/UpdateBase.php, line 51
Contains \Drupal\bootstrap\Plugin\Update\UpdateBase.

Class

UpdateBase
Base class for an update.

Namespace

Drupal\bootstrap\Plugin\Update

Code

public function getSeverity() {
  return isset($this->pluginDefinition['severity']) ? $this->pluginDefinition['severity'] : FALSE;
}