function SubformState::getFormObject
Same name in other branches
- 10 core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::getFormObject()
Overrides FormStateDecoratorBase::getFormObject
File
-
core/
lib/ Drupal/ Core/ Form/ SubformState.php, line 161
Class
- SubformState
- Stores information about the state of a subform.
Namespace
Drupal\Core\FormCode
public function getFormObject() {
if ($this->subformFormObject) {
return $this->subformFormObject;
}
return parent::getFormObject();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.