You are here

public function FormState::getValues in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::getValues()

Returns the submitted and sanitized form values.

Return value

array An associative array of values submitted to the form.

Overrides FormStateInterface::getValues

6 calls to FormState::getValues()
FormState::cleanValues in core/lib/Drupal/Core/Form/FormState.php
Removes internal Form API elements and buttons from submitted form values.
FormState::getValue in core/lib/Drupal/Core/Form/FormState.php
Returns the submitted form value for a specific key.
FormState::hasValue in core/lib/Drupal/Core/Form/FormState.php
Determines if a specific key is present in the submitted form values.
FormState::isValueEmpty in core/lib/Drupal/Core/Form/FormState.php
Determines if a specific key has a value in the submitted form values.
FormState::setValue in core/lib/Drupal/Core/Form/FormState.php
Sets the submitted form value for a specific key.

... See full list

File

core/lib/Drupal/Core/Form/FormState.php, line 982
Contains \Drupal\Core\Form\FormState.

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function &getValues() {
  return $this->values;
}