You are here

public function LayoutBuilderHtmlEntityFormController::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php \Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController::__construct()

Constructs a LayoutBuilderHtmlEntityFormController object.

Parameters

\Drupal\Core\Controller\FormController $entity_form_controller: The entity form controller being decorated.

File

core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php, line 31

Class

LayoutBuilderHtmlEntityFormController
Overrides the entity form controller service for layout builder operations.

Namespace

Drupal\layout_builder\Controller

Code

public function __construct(FormController $entity_form_controller) {
  $this->entityFormController = $entity_form_controller;
}