You are here

public function DraggableDashboardController::__construct in Draggable dashboard 8.2

Same name and namespace in other branches
  1. 8 src/Controller/DraggableDashboardController.php \Drupal\draggable_dashboard\Controller\DraggableDashboardController::__construct()

DraggableDashboardController constructor.

Parameters

\Drupal\Core\Block\BlockManagerInterface $block_manager: The block manager.

\Drupal\Core\Plugin\Context\LazyContextRepository $context_repository:

File

src/Controller/DraggableDashboardController.php, line 51

Class

DraggableDashboardController
Controller routines for draggable dashboards.

Namespace

Drupal\draggable_dashboard\Controller

Code

public function __construct(BlockManagerInterface $block_manager, LazyContextRepository $context_repository, PluginFormFactoryInterface $plugin_form_manager) {
  $this->blockManager = $block_manager;
  $this->contextRepository = $context_repository;
  $this->pluginFormFactory = $plugin_form_manager;
}