You are here

function ajax_invoke_alter in Ajax 6

Invokes hooks: ajax_alter

Parameters

$form Assoc:

$form_state Assoc:

$form_id String:

Return value

Bool

1 call to ajax_invoke_alter()
ajax_form_alter in ./ajax.module
hook_form_alter

File

./ajax.module, line 414

Code

function ajax_invoke_alter(&$form, &$form_state, $form_id) {
  $hook = 'ajax_alter';
  foreach (module_implements($hook) as $name) {
    $function = $name . '_' . $hook;
    $result = $function($form, $form_state, $form_id);
  }
  return TRUE;
}