You are here

protected property FormState::$cleanValueKeys in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\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 236
Contains \Drupal\Core\Form\FormState.

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',
];