public function FormState::getUserInput
public &FormState::getUserInput()
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
File
- core/lib/Drupal/Core/Form/FormState.php, line 961
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function &getUserInput() { return $this->input; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormState.php/function/FormState::getUserInput/8.1.x