public function FormStateDecoratorBase::isValidationEnforced in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::isValidationEnforced()
- 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::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/ FormStateDecoratorBase.php, line 187
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\FormCode
public function isValidationEnforced() {
return $this->decoratedFormState
->isValidationEnforced();
}