You are here

public function SubFormState::setValues in Authorization 8

Sets the submitted form values.

This should be avoided, since these values have been validated already. Use self::setUserInput() instead.

Parameters

array $values: The multi-dimensional associative array of form values.

Return value

$this

Overrides FormStateInterface::setValues

File

src/Form/SubFormState.php, line 299

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function setValues(array $values) {
  $this->values = $values;
  return $this;
}