You are here

function gdpr_task_form_validate in General Data Protection Regulation 7

Validate handler for all task bundles.

2 calls to gdpr_task_form_validate()
gdpr_task_edit_gdpr_remove_form_validate in modules/gdpr_tasks/gdpr_tasks.admin.inc
Validate handler for removal tasks.
gdpr_task_edit_gdpr_sar_form_validate in modules/gdpr_tasks/gdpr_tasks.admin.inc
Validate handler for export tasks.

File

modules/gdpr_tasks/gdpr_tasks.admin.inc, line 46
Administrative page and form callbacks for the GDPR Tasks module.

Code

function gdpr_task_form_validate($form, &$form_state) {
  $task = $form_state['task'];
  field_attach_validate('gdpr_task', $task);
}