You are here

public function LayoutBuilderForm::__construct in Page Manager 8.4

Constructs a new LayoutBuilderForm.

Parameters

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

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

\Drupal\Core\TempStore\SharedTempStoreFactory $tempstore: The tempstore factory.

File

src/Form/LayoutBuilderForm.php, line 61

Class

LayoutBuilderForm
Provides a form containing the Layout Builder UI for Page Manager.

Namespace

Drupal\page_manager\Form

Code

public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, SectionStorageManager $section_storage_manager, SharedTempStoreFactory $tempstore) {
  $this->layoutTempstoreRepository = $layout_tempstore_repository;
  $this->sectionStorageManager = $section_storage_manager;
  $this->tempstore = $tempstore;
}