function LayoutSectionStorageParamConverter::__construct

Same name in other branches
  1. 9 core/modules/layout_builder/src/Routing/LayoutSectionStorageParamConverter.php \Drupal\layout_builder\Routing\LayoutSectionStorageParamConverter::__construct()
  2. 10 core/modules/layout_builder/src/Routing/LayoutSectionStorageParamConverter.php \Drupal\layout_builder\Routing\LayoutSectionStorageParamConverter::__construct()

Constructs a new LayoutSectionStorageParamConverter.

Parameters

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

File

core/modules/layout_builder/src/Routing/LayoutSectionStorageParamConverter.php, line 30

Class

LayoutSectionStorageParamConverter
Loads the section storage from the routing defaults.

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.