You are here

function clientside_validation_form_after_build in Clientside Validation 2.0.x

Same name and namespace in other branches
  1. 8.2 clientside_validation.module \clientside_validation_form_after_build()
  2. 8 clientside_validation.module \clientside_validation_form_after_build()
  3. 6 clientside_validation.module \clientside_validation_form_after_build()
  4. 7.2 clientside_validation.module \clientside_validation_form_after_build()
  5. 7 clientside_validation.module \clientside_validation_form_after_build()
  6. 3.0.x clientside_validation.module \clientside_validation_form_after_build()

Form after build callback.

1 string reference to 'clientside_validation_form_after_build'
clientside_validation_form_alter in ./clientside_validation.module
Implements hook_form_alter().

File

./clientside_validation.module, line 21
Hook implementations for the Clientside Validation module.

Code

function clientside_validation_form_after_build($form, FormStateInterface $form_state) {
  clientside_validation_add_validation($form, $form_state, $form['#form_id']);
  clientside_validation_form_after_build_recurse($form['#form_id'], $form, $form_state);
  return $form;
}