public function FormState::getLimitValidationErrors in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::getLimitValidationErrors()
Retrieves the limited validation error sections.
Return value
array|null The limited validation error sections.
Overrides FormStateInterface::getLimitValidationErrors
See also
\Drupal\Core\Form\FormState::$limit_validation_errors
1 call to FormState::getLimitValidationErrors()
- FormState::setErrorByName in core/
lib/ Drupal/ Core/ Form/ FormState.php - Files an error against a form element.
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 582
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function getLimitValidationErrors() {
return $this->limit_validation_errors;
}