public function MaestroNonInteractiveExampleTask::isInteractive in Maestro 8.2
Same name and namespace in other branches
- 3.x modules/examples/maestro_noninteractive_task_plugin_example/src/Plugin/EngineTasks/MaestroNonInteractiveExampleTask.php \Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasks\MaestroNonInteractiveExampleTask::isInteractive()
Returns TRUE or FALSE to denote if this task has an interactive interface that needs to be shown in the Task Console and for any other requirements of the task.
Overrides MaestroEngineTaskInterface::isInteractive
File
- modules/
examples/ maestro_noninteractive_task_plugin_example/ src/ Plugin/ EngineTasks/ MaestroNonInteractiveExampleTask.php, line 49
Class
- MaestroNonInteractiveExampleTask
- Maestro Non Interactive Example Task Plugin.
Namespace
Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasksCode
public function isInteractive() {
/*
* You would return a TRUE here if this task required manual human intervention to complete.
* This only applies to a task that must present options to the end user for completion in a task console.
* For this example, we return FALSE.
*
* See the MaestroInteractiveTask type code for how to return an interactive task.
*/
return FALSE;
}