You are here

public function SubFormState::setUserInput in Authorization 8

Sets the form values as though they were submitted by a user.

Parameters

array $user_input: An associative array of raw and unvalidated values.

Return value

$this

Overrides FormStateInterface::setUserInput

File

src/Form/SubFormState.php, line 274

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function setUserInput(array $user_input) {
  $old =& $this
    ->getUserInput();
  $old = $user_input;
  return $this;
}