function FormStateDecoratorBase::getFormObject

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getFormObject()
  2. 8.9.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getFormObject()
  3. 11.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getFormObject()

Overrides FormStateInterface::getFormObject

1 call to FormStateDecoratorBase::getFormObject()
SubformState::getFormObject in core/lib/Drupal/Core/Form/SubformState.php
Returns the form object that is responsible for building this form.
1 method overrides FormStateDecoratorBase::getFormObject()
SubformState::getFormObject in core/lib/Drupal/Core/Form/SubformState.php
Returns the form object that is responsible for building this form.

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 725

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function getFormObject() {
    return $this->decoratedFormState
        ->getFormObject();
}

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