W3cubDocs

/Drupal 8

class Cron

The Drupal core Cron service.

Hierarchy

File

core/lib/Drupal/Core/Cron.php, line 19

Namespace

Drupal\Core

Members

Name Modifiers Type Description
Cron::$accountSwitcher protected property The account switcher service.
Cron::$lock protected property The lock service.
Cron::$logger protected property A logger instance.
Cron::$moduleHandler protected property The module handler service.
Cron::$queueFactory protected property The queue service.
Cron::$queueManager protected property The queue plugin manager.
Cron::$state protected property The state service.
Cron::invokeCronHandlers protected function Invokes any cron handlers implementing hook_cron.
Cron::processQueues protected function Processes cron queues.
Cron::run public function Executes a cron run. Overrides CronInterface::run
Cron::setCronLastTime protected function Records and logs the request time for this cron invocation.
Cron::__construct public function Constructs a cron object.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cron.php/class/Cron/8.1.x