public function HomeboxLayoutController::__construct in Homebox 8
HomeboxLayoutController constructor.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: Date formatter service.
\Drupal\Core\Render\RendererInterface $renderer: Renderer service.
\Drupal\Core\Block\BlockManagerInterface $block_manager: Manager block plugin.
\Drupal\Core\Menu\LocalActionManagerInterface $local_action_manager: The local action manager.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
\Drupal\Core\Plugin\Context\LazyContextRepository $context_repository: The context repository.
\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generator service.
File
- src/
Controller/ HomeboxLayoutController.php, line 116
Class
- HomeboxLayoutController
- Class HomeboxLayoutController.
Namespace
Drupal\homebox\ControllerCode
public function __construct(DateFormatterInterface $date_formatter, RendererInterface $renderer, BlockManagerInterface $block_manager, LocalActionManagerInterface $local_action_manager, RouteMatchInterface $route_match, LazyContextRepository $context_repository, LinkGeneratorInterface $link_generator) {
$this->dateFormatter = $date_formatter;
$this->renderer = $renderer;
$this->blockManager = $block_manager;
$this->localActionManager = $local_action_manager;
$this->routeMatch = $route_match;
$this->contextRepository = $context_repository;
$this->linkGenerator = $link_generator;
}