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

protected $values = array();
doc_Drupal
2016-10-29 09:15:53
Comments
Leave a Comment

Please login to continue.