public function MaestroInteractiveExampleTask::validateTaskEditForm 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::validateTaskEditForm()
This method must be called by the template builder in order to validate the form entry values before saving.
Overrides MaestroEngineTaskInterface::validateTaskEditForm
File
- modules/
examples/ maestro_interactive_task_plugin_example/ src/ Plugin/ EngineTasks/ MaestroInteractiveExampleTask.php, line 200
Class
- MaestroInteractiveExampleTask
- Maestro Interactive Example Task Plugin.
Namespace
Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasksCode
public function validateTaskEditForm(array &$form, FormStateInterface $form_state) {
/*
* Need to validate anything on your edit form? Do that here.
*/
}