You are here

public function SubFormState::addCleanValueKey in Authorization 8

Adds a key to the array of form values that will be cleaned.

Parameters

string $key: The form value key to be cleaned.

Return value

$this

Overrides FormStateInterface::addCleanValueKey

File

src/Form/SubFormState.php, line 829

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function addCleanValueKey($key) {
  $this->mainFormState
    ->addCleanValueKey($key);
  return $this;
}