public static function SubFormState::hasAnyErrors in Authorization 8
Determines if any forms have any errors.
Return value
bool TRUE if any form has any errors, FALSE otherwise.
Overrides FormStateInterface::hasAnyErrors
File
- src/
Form/ SubFormState.php, line 351
Class
- SubFormState
- Represents the form state of a sub-form.
Namespace
Drupal\authorization\FormCode
public static function hasAnyErrors() {
return FormState::hasAnyErrors();
}