public function LightweightCronController::__construct in Scheduler 8
Same name and namespace in other branches
- 2.x src/Controller/LightweightCronController.php \Drupal\scheduler\Controller\LightweightCronController::__construct()
LightweightCronController constructor.
Parameters
\Drupal\scheduler\SchedulerManager $scheduler_manager: The scheduler manager.
File
- src/
Controller/ LightweightCronController.php, line 31
Class
- LightweightCronController
- Controller for the lightweight cron.
Namespace
Drupal\scheduler\ControllerCode
public function __construct(SchedulerManager $scheduler_manager) {
$this->schedulerManager = $scheduler_manager;
}