public static function FormStateDecoratorBase::hasAnyErrors in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::hasAnyErrors()
Determines if any forms have any errors.
Return value
bool TRUE if any form has any errors, FALSE otherwise.
Overrides FormStateInterface::hasAnyErrors
File
- core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php, line 617
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\FormCode
public static function hasAnyErrors() {
return FormState::hasAnyErrors();
}