You are here

function conditional_fields_form_alter in Conditional Fields 8

Same name and namespace in other branches
  1. 5 conditional_fields.module \conditional_fields_form_alter()
  2. 6.2 conditional_fields.module \conditional_fields_form_alter()
  3. 6 conditional_fields.module \conditional_fields_form_alter()
  4. 4.x 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 388
Contains conditional_fields.module.

Code

function conditional_fields_form_alter(&$form, &$form_state, $form_id) {
  $form['#after_build'][] = 'conditional_fields_form_after_build';
}