protected static FormState::setAnyErrors($errors = TRUE)
Sets the global status of errors.
Parameters
bool $errors: TRUE if any form has any errors, FALSE otherwise.
File
- core/lib/Drupal/Core/Form/FormState.php, line 1041
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
protected static function setAnyErrors($errors = TRUE) { static::$anyErrors = $errors; }
Please login to continue.