Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
Cron::run function core/lib/Drupal/Core/ProxyClass/Cron.php Executes a cron run.
Cron::setCronLastTime function core/lib/Drupal/Core/Cron.php Records and logs the request time for this cron invocation.
Cron::__construct function core/lib/Drupal/Core/Cron.php Constructs a cron object.
Cron::__construct function core/lib/Drupal/Core/ProxyClass/Cron.php Constructs a ProxyClass Drupal proxy object.
CronAccessCheck class core/modules/system/src/Access/CronAccessCheck.php Access check for cron routes.
CronAccessCheck.php file core/modules/system/src/Access/CronAccessCheck.php
CronAccessCheck::access function core/modules/system/src/Access/CronAccessCheck.php Checks access.
CronController class core/modules/system/src/CronController.php Controller for Cron handling.
CronController.php file core/modules/system/src/CronController.php
CronController::$cron property core/modules/system/src/CronController.php The cron service.
CronController::create function core/modules/system/src/CronController.php Instantiates a new instance of this class.
CronController::run function core/modules/system/src/CronController.php Run Cron once.
CronController::runManually function core/modules/system/src/CronController.php Run cron manually.
CronController::__construct function core/modules/system/src/CronController.php Constructs a CronController object.
CronForm class core/modules/system/src/Form/CronForm.php Configure cron settings for this site.
CronForm.php file core/modules/system/src/Form/CronForm.php
CronForm::$cron property core/modules/system/src/Form/CronForm.php The cron service.
CronForm::$dateFormatter property core/modules/system/src/Form/CronForm.php The date formatter service.
CronForm::$moduleHandler property core/modules/system/src/Form/CronForm.php The module handler service.
CronForm::$state property core/modules/system/src/Form/CronForm.php Stores the state storage service.
CronForm::buildForm function core/modules/system/src/Form/CronForm.php Form constructor.
CronForm::create function core/modules/system/src/Form/CronForm.php Instantiates a new instance of this class.
CronForm::getEditableConfigNames function core/modules/system/src/Form/CronForm.php Gets the configuration names that will be editable.
CronForm::getFormId function core/modules/system/src/Form/CronForm.php Returns a unique string identifying the form.
CronForm::runCron function core/modules/system/src/Form/CronForm.php Form submission handler for running cron manually.
CronForm::submitForm function core/modules/system/src/Form/CronForm.php Form submission handler.
CronForm::__construct function core/modules/system/src/Form/CronForm.php Constructs a CronForm object.
CronInterface interface core/lib/Drupal/Core/CronInterface.php An interface for running cron tasks.
CronInterface.php file core/lib/Drupal/Core/CronInterface.php
CronInterface::run function core/lib/Drupal/Core/CronInterface.php Executes a cron run.
CronQueueTest class core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests the Cron Queue runner.
CronQueueTest.php file core/modules/system/tests/src/Kernel/System/CronQueueTest.php
CronQueueTest::$connection property core/modules/system/tests/src/Kernel/System/CronQueueTest.php The database connection.
CronQueueTest::$cron property core/modules/system/tests/src/Kernel/System/CronQueueTest.php The cron service.
CronQueueTest::$modules property core/modules/system/tests/src/Kernel/System/CronQueueTest.php The modules to enable.
CronQueueTest::setUp function core/modules/system/tests/src/Kernel/System/CronQueueTest.php
CronQueueTest::testExceptions function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests that exceptions thrown by workers are handled properly.
CronQueueTestBrokenQueue class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestBrokenQueue.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_broken_queue",
title = @Translation("Broken queue test"),
cron = {"time" = 60}
)
CronQueueTestBrokenQueue.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestBrokenQueue.php
CronQueueTestBrokenQueue::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestBrokenQueue.php Works on a single queue item.
CronQueueTestException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_exception",
title = @Translation("Exception test"),
cron = {"time" = 1}
)
CronQueueTestException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
CronQueueTestException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php Works on a single queue item.
CronQueueTestRequeueException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_requeue_exception",
title = @Translation("RequeueException test"),
cron = {"time" = 60}
)
CronQueueTestRequeueException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
CronQueueTestRequeueException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php Works on a single queue item.
CronRunTest class core/modules/system/tests/src/Functional/System/CronRunTest.php Tests cron runs.
CronRunTest.php file core/modules/system/tests/src/Functional/System/CronRunTest.php
CronRunTest::$defaultTheme property core/modules/system/tests/src/Functional/System/CronRunTest.php The theme to install as the default for testing.
CronRunTest::$modules property core/modules/system/tests/src/Functional/System/CronRunTest.php Modules to enable.

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