You are here

public function JobTypeBase::getLabel in Advanced Queue 8

Gets the job type label.

Return value

string The job type label.

Overrides JobTypeInterface::getLabel

File

src/Plugin/AdvancedQueue/JobType/JobTypeBase.php, line 15

Class

JobTypeBase
Provides the base class for job types.

Namespace

Drupal\advancedqueue\Plugin\AdvancedQueue\JobType

Code

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