public function SubformState::getCompleteFormState in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::getCompleteFormState()
- 9 core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\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\FormCode
public function getCompleteFormState() {
return $this->decoratedFormState instanceof SubformStateInterface ? $this->decoratedFormState
->getCompleteFormState() : $this->decoratedFormState;
}