You are here

public function DynamicLayoutController::__construct in Dynamic Layouts 8

EditRowModalForm constructor.

Parameters

\Drupal\Core\Entity\EntityFormBuilderInterface $entity_form_builder: The entity form builder.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\Core\Form\FormBuilder $formBuilder: The form builder.

File

src/Controller/DynamicLayoutController.php, line 51

Class

DynamicLayoutController
DynamicLayoutController class.

Namespace

Drupal\dynamic_layouts\Controller

Code

public function __construct(EntityFormBuilderInterface $entity_form_builder, EntityTypeManagerInterface $entityTypeManager, FormBuilder $formBuilder) {
  $this->entityTypeManager = $entityTypeManager;
  $this->entityFormBuilder = $entity_form_builder;
  $this->formBuilder = $formBuilder;
}