You are here

public function FormState::setCleanValueKeys in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 1243
Contains \Drupal\Core\Form\FormState.

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setCleanValueKeys(array $cleanValueKeys) {
  $this->cleanValueKeys = $cleanValueKeys;
  return $this;
}