function LayoutBuilderRoutes::__construct

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

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