BlockController::__construct

public BlockController::__construct(ThemeHandlerInterface $theme_handler)

Constructs a new BlockController instance.

Parameters

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

File

core/modules/block/src/Controller/BlockController.php, line 29

Class

BlockController
Controller routines for admin block routes.

Namespace

Drupal\block\Controller

Code

public function __construct(ThemeHandlerInterface $theme_handler) {
  $this->themeHandler = $theme_handler;
}
doc_Drupal
2016-10-29 08:47:22
Comments
Leave a Comment

Please login to continue.