public function FormState::isValidationEnforced in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::isValidationEnforced()
Checks if validation is enforced.
Return value
bool If TRUE, validation will always be run.
Overrides FormStateInterface::isValidationEnforced
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 635
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function isValidationEnforced() {
return $this->must_validate;
}