You are here

public function SubFormState::getCompleteForm in Authorization 8

Returns a reference to the complete form array.

Return value

array The complete form array.

Overrides FormStateInterface::getCompleteForm

File

src/Form/SubFormState.php, line 118

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function &getCompleteForm() : array {
  return $this
    ->applySubKeys($this->mainFormState
    ->getCompleteForm());
}