You are here

public function LayoutTempstoreRouteEnhancer::__construct in Drupal 10

Constructs a new LayoutTempstoreRouteEnhancer.

Parameters

\Drupal\layout_builder\LayoutTempstoreRepositoryInterface $layout_tempstore_repository: The layout tempstore repository.

File

core/modules/layout_builder/src/Routing/LayoutTempstoreRouteEnhancer.php, line 29

Class

LayoutTempstoreRouteEnhancer
Loads the section storage from the layout tempstore.

Namespace

Drupal\layout_builder\Routing

Code

public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository) {
  $this->layoutTempstoreRepository = $layout_tempstore_repository;
}