public function LightweightCronController::__construct in Scheduler 2.x
Same name and namespace in other branches
- 8 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;
}