function hook_clientside_validation_should_validate in Clientside Validation 8.2
Same name and namespace in other branches
- 8 clientside_validation.api.php \hook_clientside_validation_should_validate()
- 3.0.x clientside_validation.api.php \hook_clientside_validation_should_validate()
- 2.0.x clientside_validation.api.php \hook_clientside_validation_should_validate()
Check whether or not an element should be validated.
Parameters
mixed $element: Element array.
\Drupal\Core\Form\FormStateInterface $form_state: Form State object.
string $form_id: Form ID.
File
- ./
clientside_validation.api.php, line 35 - Hooks specific to the Clientside Validation module.
Code
function hook_clientside_validation_should_validate($element, FormStateInterface &$form_state, $form_id) {
}