You are here

protected property FormState::$errors in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::errors

Contains errors for this form.

This property is uncacheable.

Type: array

File

core/lib/Drupal/Core/Form/FormState.php, line 416

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

protected $errors = [];