public function MaestroNonInteractiveExampleTask::shortDescription in Maestro 3.x
Same name and namespace in other branches
- 8.2 modules/examples/maestro_noninteractive_task_plugin_example/src/Plugin/EngineTasks/MaestroNonInteractiveExampleTask.php \Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasks\MaestroNonInteractiveExampleTask::shortDescription()
Get the task's short description. Useful for things like labels.
Overrides MaestroEngineTaskInterface::shortDescription
File
- modules/
examples/ maestro_noninteractive_task_plugin_example/ src/ Plugin/ EngineTasks/ MaestroNonInteractiveExampleTask.php, line 63
Class
- MaestroNonInteractiveExampleTask
- Maestro Non Interactive Example Task Plugin.
Namespace
Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasksCode
public function shortDescription() {
// Descriptions used however the template builder sees fit.
return $this
->t('Non-Int Example Task');
// If the task name is too long, you could abbreviate it here and use
// in a template builder UI.
}