You are here

public function BlockListController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Controller/BlockListController.php \Drupal\block\Controller\BlockListController::__construct()

Constructs the BlockListController.

Parameters

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

File

core/modules/block/src/Controller/BlockListController.php, line 34
Contains \Drupal\block\Controller\BlockListController.

Class

BlockListController
Defines a controller to list blocks.

Namespace

Drupal\block\Controller

Code

public function __construct(ThemeHandlerInterface $theme_handler) {
  $this->themeHandler = $theme_handler;
}