function MoveBlockController::__construct
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Controller/MoveBlockController.php \Drupal\layout_builder\Controller\MoveBlockController::__construct()
- 10 core/modules/layout_builder/src/Controller/MoveBlockController.php \Drupal\layout_builder\Controller\MoveBlockController::__construct()
- 11.x 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\ControllerCode
public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository) {
$this->layoutTempstoreRepository = $layout_tempstore_repository;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.