public function FormState::setCleanValueKeys in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setCleanValueKeys()
Sets the keys of the form values that will be cleaned.
Parameters
array $keys: An array of form value keys to be cleaned.
Return value
$this
Overrides FormStateInterface::setCleanValueKeys
1 call to FormState::setCleanValueKeys()
- FormState::addCleanValueKey in core/
lib/ Drupal/ Core/ Form/ FormState.php - Adds a key to the array of form values that will be cleaned.
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 1179
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function setCleanValueKeys(array $cleanValueKeys) {
$this->cleanValueKeys = $cleanValueKeys;
return $this;
}