You are here

public function MoveBlockForm::__construct in Drupal 8

Same name and namespace in other branches
  1. 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 67

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;
}