public function MaestroInteractiveExampleTask::handleExecuteSubmit in Maestro 8.2
Same name and namespace in other branches
- 3.x modules/examples/maestro_interactive_task_plugin_example/src/Plugin/EngineTasks/MaestroInteractiveExampleTask.php \Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasks\MaestroInteractiveExampleTask::handleExecuteSubmit()
Interactive tasks, or tasks that signal themselves as requiring human interaction will have the resulting form submissions sent to their own handler for processing to determine if the task should be completed or not or to carry out any task processing that may have to be done.
Overrides MaestroEngineTaskInterface::handleExecuteSubmit
File
- modules/
examples/ maestro_interactive_task_plugin_example/ src/ Plugin/ EngineTasks/ MaestroInteractiveExampleTask.php, line 176
Class
- MaestroInteractiveExampleTask
- Maestro Interactive Example Task Plugin.
Namespace
Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasksCode
public function handleExecuteSubmit(array &$form, FormStateInterface $form_state) {
/*
* This is the submit handler for the getExecutableForm form.
* This method is executed by the MaestroInteractiveFormBase submit handler so you can do whatever it is you need
* to do to the task here.
*
* In the event you have a handler, that is called instead.
*/
}