You are here

public function PrepareLayout::__construct in Layout builder library 8

PrepareLayout constructor.

Parameters

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

File

src/EventSubscriber/PrepareLayout.php, line 33

Class

PrepareLayout
Alters a layout override to use layout library selection over the default.

Namespace

Drupal\layout_library\EventSubscriber

Code

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