You are here

public function SubFormState::getUserInput in Authorization 8

Returns the form values as they were submitted by the user.

These are raw and unvalidated, so should not be used without a thorough understanding of security implications. In almost all cases, code should use self::getValues() and self::getValue() exclusively.

Return value

array An associative array of values submitted to the form.

Overrides FormStateInterface::getUserInput

1 call to SubFormState::getUserInput()
SubFormState::setUserInput in src/Form/SubFormState.php
Sets the form values as though they were submitted by a user.

File

src/Form/SubFormState.php, line 266

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function &getUserInput() {
  $user_input =& $this->mainFormState
    ->getUserInput();
  return $this
    ->applySubKeys($user_input);
}