public function SubFormState::getFormObject in Authorization 8
Returns the form object that is responsible for building this form.
Return value
\Drupal\Core\Form\FormInterface The form object.
Overrides FormStateInterface::getFormObject
File
- src/
Form/ SubFormState.php, line 432
Class
- SubFormState
- Represents the form state of a sub-form.
Namespace
Drupal\authorization\FormCode
public function getFormObject() {
return $this->mainFormState
->getFormObject();
}