function conditional_fields_form_after_build in Conditional Fields 8
Same name and namespace in other branches
- 7.3 conditional_fields.module \conditional_fields_form_after_build()
- 4.x conditional_fields.module \conditional_fields_form_after_build()
Runs the 'afterbuild' validation of a form with dependencies.
This function will run only once per form.
Parameters
$form: The form to validate
$form_state: The form's state.
Return value
mixed The form.
1 string reference to 'conditional_fields_form_after_build'
- conditional_fields_form_alter in ./
conditional_fields.module - Implements hook_form_alter().
File
- ./
conditional_fields.module, line 405 - Contains conditional_fields.module.
Code
function conditional_fields_form_after_build($form, &$form_state) {
return \Drupal::service('conditional_fields.form_helper')
->afterBuild($form, $form_state);
}