You are here

function ajax_invoke_validate_pass in Ajax 6

Invokes hooks: ajax_validate_pass

Parameters

$form Assoc:

$form_state Assoc:

$data Assoc:

$pass Bool:

Return value

Bool

1 call to ajax_invoke_validate_pass()
ajax_validator in ./ajax.module
Validation handler callback

File

./ajax.module, line 377

Code

function ajax_invoke_validate_pass(&$form, &$form_state, &$data, &$pass) {
  $hook = 'ajax_validate_pass';
  foreach (module_implements($hook) as $name) {
    $function = $name . '_' . $hook;
    $result = $function($form, $form_state, $data, $pass);
  }
  return TRUE;
}