You are here

public function MaestroInteractiveExampleTask::shortDescription in Maestro 8.2

Same name and namespace in other branches
  1. 3.x modules/examples/maestro_interactive_task_plugin_example/src/Plugin/EngineTasks/MaestroInteractiveExampleTask.php \Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasks\MaestroInteractiveExampleTask::shortDescription()

Get the task's short description. Useful for things like labels.

Overrides MaestroEngineTaskInterface::shortDescription

File

modules/examples/maestro_interactive_task_plugin_example/src/Plugin/EngineTasks/MaestroInteractiveExampleTask.php, line 63

Class

MaestroInteractiveExampleTask
Maestro Interactive Example Task Plugin.

Namespace

Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasks

Code

public function shortDescription() {

  // Descriptions used however the template builder sees fit.
  return $this
    ->t('Int Example Task');

  // If the task name is too long, you could abbreviate it here and use
  // in a template builder UI.
}