You are here

public function LayoutBuilderRoutes::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php \Drupal\layout_builder\Routing\LayoutBuilderRoutes::__construct()
  2. 10 core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php \Drupal\layout_builder\Routing\LayoutBuilderRoutes::__construct()

Constructs a new LayoutBuilderRoutes.

Parameters

\Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface $section_storage_manager: The section storage manager.

File

core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php, line 31

Class

LayoutBuilderRoutes
Provides routes for the Layout Builder UI.

Namespace

Drupal\layout_builder\Routing

Code

public function __construct(SectionStorageManagerInterface $section_storage_manager) {
  $this->sectionStorageManager = $section_storage_manager;
}