You are here

function fapi_validate_element_validate in Form API Validation 8

Same name and namespace in other branches
  1. 7.2 fapi_validation.module \fapi_validate_element_validate()
  2. 7 fapi_validation.module \fapi_validate_element_validate()

Run element validation callbacks.

1 string reference to 'fapi_validate_element_validate'
fapi_validation_element_process in ./fapi_validation.module
Process element validators and filters.

File

./fapi_validation.module, line 57
Form API validation module

Code

function fapi_validate_element_validate(&$element, FormStateInterface $form_state) {
  fapi_validation_validators_execute($element, $form_state);
}