You are here

public function ToolbarController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/admin_toolbar/admin_toolbar_tools/src/Controller/ToolbarController.php \Drupal\admin_toolbar_tools\Controller\ToolbarController::__construct()

Constructs a CronController object.

Parameters

\Drupal\Core\CronInterface $cron: The cron service.

File

modules/admin_toolbar/admin_toolbar_tools/src/Controller/ToolbarController.php, line 33
Contains \Drupal\admin_toolbar_tools\Controller\ToolbarController.

Class

ToolbarController
Class ToolbarController @package Drupal\admin_toolbar_tools\Controller

Namespace

Drupal\admin_toolbar_tools\Controller

Code

public function __construct(CronInterface $cron) {
  $this->cron = $cron;
}