You are here

function domain_batch_form_validate in Domain Access 6.2

Same name and namespace in other branches
  1. 5 domain_admin.inc \domain_batch_form_validate()
  2. 7.3 domain.admin.inc \domain_batch_form_validate()
  3. 7.2 domain.admin.inc \domain_batch_form_validate()

FormsAPI for validating batch form actions.

File

./domain.admin.inc, line 963
Administration functions for the domain module.

Code

function domain_batch_form_validate($form, &$form_state) {

  // Define the validation function and call it.
  if (isset($form_state['values']['validate_handler']) && function_exists($form_state['values']['validate_handler'])) {
    $form_state['values']['validate_handler']($form_state['values']);
  }
}