FormState::$cleanValueKeys

An associative array of form value keys to be removed by cleanValues().

Any values that are temporary but must still be displayed as values in the rendered form should be added to this array using addCleanValueKey(). Initialized with internal Form API values.

This property is uncacheable.

Type: array

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

protected $cleanValueKeys = [
  'form_id',
  'form_token',
  'form_build_id',
  'op',
];
doc_Drupal
2016-10-29 09:15:49
Comments
Leave a Comment

Please login to continue.