You are here

public function FormState::setCompleteForm in Drupal 8

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

Stores the complete form array.

Parameters

array $complete_form: The complete form array.

Return value

$this

Overrides FormStateInterface::setCompleteForm

File

core/lib/Drupal/Core/Form/FormState.php, line 899

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setCompleteForm(array &$complete_form) {
  $this->complete_form =& $complete_form;
  return $this;
}