You are here

public function MaestroNonInteractiveExampleTask::validateTaskEditForm in Maestro 8.2

Same name and namespace in other branches
  1. 3.x modules/examples/maestro_noninteractive_task_plugin_example/src/Plugin/EngineTasks/MaestroNonInteractiveExampleTask.php \Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasks\MaestroNonInteractiveExampleTask::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_noninteractive_task_plugin_example/src/Plugin/EngineTasks/MaestroNonInteractiveExampleTask.php, line 146

Class

MaestroNonInteractiveExampleTask
Maestro Non Interactive Example Task Plugin.

Namespace

Drupal\maestro_noninteractive_task_plugin_example\Plugin\EngineTasks

Code

public function validateTaskEditForm(array &$form, FormStateInterface $form_state) {

  /*
   * Need to validate anything on your edit form?  Do that here.
   */
}