public function SubFormState::setCompleteForm in Authorization 8
Stores the complete form array.
Parameters
array $complete_form: The complete form array.
Return value
$this
Overrides FormStateInterface::setCompleteForm
File
- src/
Form/ SubFormState.php, line 125
Class
- SubFormState
- Represents the form state of a sub-form.
Namespace
Drupal\authorization\FormCode
public function setCompleteForm(array &$complete_form) {
$sub_form =& $this
->applySubKeys($this->mainFormState
->getCompleteForm());
$sub_form = $complete_form;
return $this;
}