You are here

function clientside_validation_form_alter in Clientside Validation 2.0.x

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

Implements hook_form_alter().

File

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

Code

function clientside_validation_form_alter(&$form, FormStateInterface &$form_state, $form_id) {
  $form['#after_build'][] = 'clientside_validation_form_after_build';
}