public FormStateDecoratorBase::setFormObject(FormInterface $form_object)
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
- core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 702
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\Form
Code
public function setFormObject(FormInterface $form_object) { $this->decoratedFormState->setFormObject($form_object); return $this; }
Please login to continue.