You are here

protected function FormEntityBaseForm::formEntityManager in Flexiform 8

Get the form entity manager.

Return value

\Drupal\flexiform\FormEntity\FlexiformFormEntityManager The form entity manager.

1 call to FormEntityBaseForm::formEntityManager()
FormEntityAddForm::buildForm in src/Form/FormEntityAddForm.php
Form constructor.

File

src/Form/FormEntityBaseForm.php, line 92

Class

FormEntityBaseForm
Provides a base class for entity forms.

Namespace

Drupal\flexiform\Form

Code

protected function formEntityManager(FormStateInterface $form_state) {
  return $this->formDisplay
    ->getFormEntityManager($form_state);
}