function ajax_form_alter in Ajax 6
hook_form_alter
Parameters
$form Assoc:
$form_state Assoc:
$form_id String:
Return value
Bool
File
- ./
ajax.module, line 43
Code
function ajax_form_alter(&$form, $form_state, $form_id) {
ajax_form_configure($form, $form_state, $form_id);
if (ajax_is_enabled($form) && !$form['#programmed']) {
$found = array(
'submitter' => FALSE,
);
ajax_invoke_alter($form, $form_state, $form_id);
ajax_validator_set($form);
ajax_submitter_find($form, $found);
ajax_submitter_set($form, $found);
}
return TRUE;
}