Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getCompleteForm()
  2. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getCompleteForm()

Returns a reference to the complete form array.

Return value

array The complete form array.

Overrides FormStateInterface::getCompleteForm

File

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

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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