Search for all

  1. Search 7.x for all
  2. Search 8.9.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
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::$currentTime property core/modules/system/tests/src/Kernel/System/CronQueueTest.php The fake current time used for queue worker / cron testing purposes.
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::testDatabaseQueueReturnTypes function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests that database queue implementation complies with interfaces specs.
CronQueueTest::testDelayException function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests that DelayedRequeueException behaves as expected when running cron.
CronQueueTest::testExceptions function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests that exceptions thrown by workers are handled properly.
CronQueueTest::testLeaseTime function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests that leases are expiring correctly, also within the same request.
CronQueueTest::testQueueWorkerManagerSafeguard function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Test safeguard against invalid annotations in QueueWorkerManager.
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.
CronQueueTestDatabaseDelayException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php A queue worker for testing cron exception handling.
CronQueueTestDatabaseDelayException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php
CronQueueTestDatabaseDelayException::DELAY_INTERVAL constant core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php
CronQueueTestDatabaseDelayException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.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.
CronQueueTestLeaseTime class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_lease_time",
title = @Translation("Lease time test"),
cron = {"time" = 100}
)
CronQueueTestLeaseTime.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
CronQueueTestLeaseTime::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php Works on a single queue item.
CronQueueTestMemoryDelayException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.php A queue worker for testing cron exception handling.
CronQueueTestMemoryDelayException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.php
CronQueueTestMemoryDelayException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.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.
CronRunTest::testAutomatedCron function core/modules/system/tests/src/Functional/System/CronRunTest.php Ensure that the automated cron run module is working.

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