public function MaestroNonInteractiveExampleTask::getExecutableForm 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::getExecutableForm()
Gets the Maestro executable form for a task console.
Parameters
string $modal: Defines if the form is a modal form or not.
Drupal\maestro\Form\MaestroExecuteInteractive $parent: Parent class for using modal callbacks to the interactive form base if needed.
Return value
array Array Must return form declaration fields if this task is interactive or not.
Overrides MaestroEngineTaskInterface::getExecutableForm
File
- modules/
examples/ maestro_noninteractive_task_plugin_example/ src/ Plugin/ EngineTasks/ MaestroNonInteractiveExampleTask.php, line 116
Class
- MaestroNonInteractiveExampleTask
- Maestro Non Interactive Example Task Plugin.
Namespace
Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasksCode
public function getExecutableForm($modal, MaestroExecuteInteractive $parent) {
/*
* This task has been set to be a non-interactive task, therefore we do not need to return a form
*/
}