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