function SubformState::getCompleteFormState

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::getCompleteFormState()
  2. 8.9.x core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::getCompleteFormState()
  3. 10 core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::getCompleteFormState()

Overrides SubformStateInterface::getCompleteFormState

File

core/lib/Drupal/Core/Form/SubformState.php, line 119

Class

SubformState
Stores information about the state of a subform.

Namespace

Drupal\Core\Form

Code

public function getCompleteFormState() {
    return $this->decoratedFormState instanceof SubformStateInterface ? $this->decoratedFormState
        ->getCompleteFormState() : $this->decoratedFormState;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.