FormStateDecoratorBase::setFormObject

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;
}
doc_Drupal
2016-10-29 09:16:24
Comments
Leave a Comment

Please login to continue.