8.2.x FormStateInterface.php public &FormStateInterface::getValues()
8.0.x FormStateInterface.php public &FormStateInterface::getValues()
8.1.x FormStateInterface.php public &FormStateInterface::getValues()
8.3.x FormStateInterface.php public &FormStateInterface::getValues()

Returns the submitted and sanitized form values.

Return value

array An associative array of values submitted to the form.

1 method overrides FormStateInterface::getValues()
FormState::getValues in core/lib/Drupal/Core/Form/FormState.php

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 284

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function &getValues();