Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CronController.php

function CronController::__construct

Constructs a CronController object.

Parameters

\Drupal\Core\CronInterface $cron: The cron service.

File

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

Class

CronController
Controller for Cron handling.

Namespace

Drupal\system

Code

public function __construct(CronInterface $cron) {
    $this->cron = $cron;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal