public function TaskPluginBase::label in Webform Scheduled Tasks 8.2
Get the label of the task.
Return value
string The label of the task.
Overrides TaskPluginInterface::label
File
- src/
Plugin/ WebformScheduledTasks/ TaskPluginBase.php, line 73
Class
- TaskPluginBase
- A base class for task plugins.
Namespace
Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasksCode
public function label() {
return $this
->getPluginDefinition()['label'];
}