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 219

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

1
protected $values = array();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.