CronController::$cron

Same name in other branches
  1. 9 core/modules/system/src/CronController.php \Drupal\system\CronController::cron
  2. 8.9.x core/modules/system/src/CronController.php \Drupal\system\CronController::cron
  3. 10 core/modules/system/src/CronController.php \Drupal\system\CronController::cron

The cron service.

Type: \Drupal\Core\CronInterface

File

core/modules/system/src/CronController.php, line 19

Class

CronController
Controller for Cron handling.

Namespace

Drupal\system

Code

protected $cron;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.