You are here

public function ProcessorBase::getLabel in Purge 8.3

Retrieve the title of this processor.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The translated label.

Overrides ProcessorInterface::getLabel

File

src/Plugin/Purge/Processor/ProcessorBase.php, line 15

Class

ProcessorBase
Provides base implementations for processors.

Namespace

Drupal\purge\Plugin\Purge\Processor

Code

public function getLabel() {
  return $this
    ->getPluginDefinition()['label'];
}