You are here

public function BaseUpdateRunner::getDescription in Scheduled Updates 8

Get the description of the Runner Plugin.

Usually this will return description from the plugin itself but some runners may need a dynamic description or a long description.

Return value

string

Overrides UpdateRunnerInterface::getDescription

1 method overrides BaseUpdateRunner::getDescription()
LatestRevisionUpdateRunner::getDescription in src/Plugin/UpdateRunner/LatestRevisionUpdateRunner.php
Get the description of the Runner Plugin.

File

src/Plugin/BaseUpdateRunner.php, line 701
Contains \Drupal\scheduled_updates\Plugin\BaseUpdateRunner.

Class

BaseUpdateRunner

Namespace

Drupal\scheduled_updates\Plugin

Code

public function getDescription() {
  if (!empty($this->pluginDefinition['description'])) {
    return $this->pluginDefinition['description'];
  }
  return '';
}