function conditional_fields_form_alter in Conditional Fields 4.x
Same name and namespace in other branches
- 8 conditional_fields.module \conditional_fields_form_alter()
- 5 conditional_fields.module \conditional_fields_form_alter()
- 6.2 conditional_fields.module \conditional_fields_form_alter()
- 6 conditional_fields.module \conditional_fields_form_alter()
Implements hook_form_alter().
Hook_form_alter() that attaches an 'afterbuild' function to the form.
Parameters
$form: The form to attach the callback to.
$form_state: Not used, part of the hook interface.
$form_id: Not used, part of the hook interface.
File
- ./
conditional_fields.module, line 387 - Contains conditional_fields.module.
Code
function conditional_fields_form_alter(&$form, &$form_state, $form_id) {
$form['#after_build'][] = 'conditional_fields_form_after_build';
}