function LayoutBuilderHtmlEntityFormController::__construct

Same name in other branches
  1. 9 core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php \Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController::__construct()
  2. 8.9.x core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php \Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.