You are here

public function FormStateDecoratorBase::getErrors in Markdown 8.2

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

src/BcSupport/FormStateDecoratorBase.php, line 664

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

public function getErrors() {
  return $this->decoratedFormState
    ->getErrors();
}