function CronController::create

Same name in other branches
  1. 8.9.x core/modules/system/src/CronController.php \Drupal\system\CronController::create()

Overrides ControllerBase::create

File

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

Class

CronController
Controller for Cron handling.

Namespace

Drupal\system

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('cron'));
}

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