public static FormState::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/FormState.php, line 1048
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
public static function hasAnyErrors() { return static::$anyErrors; }
Please login to continue.