public FormStateDecoratorBase::getErrors()
Returns an associative array of all errors.
Return value
array An array of all errors, keyed by the name of the form element.
Overrides FormStateInterface::getErrors
File
- core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 656
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\Form
Code
1 2 3 | public function getErrors() { return $this ->decoratedFormState->getErrors(); } |
Please login to continue.