SubformState::getCompleteFormState

public SubformState::getCompleteFormState()

Gets the complete form state.

Return value

\Drupal\Core\Form\FormStateInterface

Overrides SubformStateInterface::getCompleteFormState

File

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

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;
}
doc_Drupal
2016-10-29 09:45:24
Comments
Leave a Comment

Please login to continue.