You are here

public function UpdateBase::getLabel in Express 8

Retrieves the human-readable label for the update.

Return value

string The update label.

Overrides UpdateInterface::getLabel

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

File

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

Class

UpdateBase
Base class for an update.

Namespace

Drupal\bootstrap\Plugin\Update

Code

public function getLabel() {
  return !empty($this->pluginDefinition['label']) ? $this->pluginDefinition['label'] : NULL;
}