You are here

public function MoveBlockController::__construct in Drupal 8

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

LayoutController constructor.

Parameters

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

File

core/modules/layout_builder/src/Controller/MoveBlockController.php, line 33

Class

MoveBlockController
Defines a controller to move a block.

Namespace

Drupal\layout_builder\Controller

Code

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