You are here

public function FormStateDecoratorBase::getValues in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getValues()
  2. 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getValues()

Returns the submitted and sanitized form values.

Return value

array An associative array of values submitted to the form.

Overrides FormStateInterface::getValues

1 call to FormStateDecoratorBase::getValues()
SubformState::getValues in core/lib/Drupal/Core/Form/SubformState.php
Implements \Drupal\Core\Form\FormStateInterface::getValues()

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 512

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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