function ContextReactionBlocksController::__construct in Context 8
Same name and namespace in other branches
- 8.4 src/Reaction/Blocks/Controller/ContextReactionBlocksController.php \Drupal\context\Reaction\Blocks\Controller\ContextReactionBlocksController::__construct()
- 8.0 src/Reaction/Blocks/Controller/ContextReactionBlocksController.php \Drupal\context\Reaction\Blocks\Controller\ContextReactionBlocksController::__construct()
Construct.
Parameters
\Drupal\Core\Block\BlockManagerInterface $blockManager:
\Drupal\Core\Plugin\Context\ContextRepositoryInterface $contextRepository:
\Drupal\Core\Extension\ThemeHandlerInterface $themeHandler:
\Drupal\context\ContextManager $contextManager:
File
- src/
Reaction/ Blocks/ Controller/ ContextReactionBlocksController.php, line 49
Class
Namespace
Drupal\context\Reaction\Blocks\ControllerCode
function __construct(BlockManagerInterface $blockManager, ContextRepositoryInterface $contextRepository, ThemeHandlerInterface $themeHandler, ContextManager $contextManager) {
$this->blockManager = $blockManager;
$this->contextRepository = $contextRepository;
$this->themeHandler = $themeHandler;
$this->contextManager = $contextManager;
}