You are here

public function LayoutRebuildConfirmFormBase::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php \Drupal\layout_builder\Form\LayoutRebuildConfirmFormBase::__construct()

Constructs a new RemoveSectionForm.

Parameters

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

File

core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php, line 53

Class

LayoutRebuildConfirmFormBase
Provides a base class for confirmation forms that rebuild the Layout Builder.

Namespace

Drupal\layout_builder\Form

Code

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