You are here

public function LayoutBuilderHtmlEntityFormController::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php \Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController::__construct()
  2. 10 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.

Overrides FormController::__construct

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;
}