FormState::$cleanValueKeys
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::cleanValueKeys
- 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::cleanValueKeys
- 10 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 256
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
protected $cleanValueKeys = [
'form_id',
'form_token',
'form_build_id',
'op',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.