You are here

public function MoveBlockForm::__construct in Drupal 10

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

Constructs a new MoveBlockForm.

Parameters

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

File

core/modules/layout_builder/src/Form/MoveBlockForm.php, line 69

Class

MoveBlockForm
Provides a form for moving a block.

Namespace

Drupal\layout_builder\Form

Code

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