public function FormState::setCompleteForm in Drupal 9
Same name and namespace in other branches
- 8 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\FormCode
public function setCompleteForm(array &$complete_form) {
$this->complete_form =& $complete_form;
return $this;
}