public function LayoutTempstoreParamConverter::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Routing/LayoutTempstoreParamConverter.php \Drupal\layout_builder\Routing\LayoutTempstoreParamConverter::__construct()
Constructs a new LayoutTempstoreParamConverter.
Parameters
\Drupal\layout_builder\LayoutTempstoreRepositoryInterface $layout_tempstore_repository: The layout tempstore repository.
\Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface $section_storage_manager: The section storage manager.
File
- core/
modules/ layout_builder/ src/ Routing/ LayoutTempstoreParamConverter.php, line 40
Class
- LayoutTempstoreParamConverter
- Loads the section storage from the layout tempstore.
Namespace
Drupal\layout_builder\RoutingCode
public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, SectionStorageManagerInterface $section_storage_manager) {
$this->layoutTempstoreRepository = $layout_tempstore_repository;
$this->sectionStorageManager = $section_storage_manager;
}