protected property FormState::$values in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::values
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::values
An associative array of values submitted to the form.
The validation functions and submit functions use this array for nearly all their decision making. (Note that #tree determines whether the values are a flat array or an array whose structure parallels the $form array. See \Drupal\Core\Render\Element\FormElement for more information.)
This property is uncacheable.
Type: array
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 220
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
protected $values = [];