function ChooseSectionController::__construct

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Controller/ChooseSectionController.php \Drupal\layout_builder\Controller\ChooseSectionController::__construct()
  2. 8.9.x core/modules/layout_builder/src/Controller/ChooseSectionController.php \Drupal\layout_builder\Controller\ChooseSectionController::__construct()
  3. 10 core/modules/layout_builder/src/Controller/ChooseSectionController.php \Drupal\layout_builder\Controller\ChooseSectionController::__construct()

ChooseSectionController constructor.

Parameters

\Drupal\Core\Layout\LayoutPluginManagerInterface $layout_manager: The layout manager.

File

core/modules/layout_builder/src/Controller/ChooseSectionController.php, line 42

Class

ChooseSectionController
Defines a controller to choose a new section.

Namespace

Drupal\layout_builder\Controller

Code

public function __construct(LayoutPluginManagerInterface $layout_manager) {
    $this->layoutManager = $layout_manager;
}

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