public function CronController::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/src/CronController.php \Drupal\system\CronController::__construct()
Constructs a CronController object.
Parameters
\Drupal\Core\CronInterface $cron: The cron service.
File
- core/
modules/ system/ src/ CronController.php, line 28
Class
- CronController
- Controller for Cron handling.
Namespace
Drupal\systemCode
public function __construct(CronInterface $cron) {
$this->cron = $cron;
}