function FormStateDecoratorBase::getUserInput
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getUserInput()
- 8.9.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getUserInput()
- 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getUserInput()
Returns the form values as they were submitted by the user.
These are raw and non validated, 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
File
-
core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php, line 496
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\FormCode
public function &getUserInput() {
return $this->decoratedFormState
->getUserInput();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.