namespace Drupal\cron_queue_test\Plugin\QueueWorker

Same name in other branches
  1. 8.9.x Drupal\cron_queue_test\Plugin\QueueWorker
  2. 10 Drupal\cron_queue_test\Plugin\QueueWorker
  3. 11.x Drupal\cron_queue_test\Plugin\QueueWorker
Object name File name Summary
CronQueueTestBrokenQueue 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}
)
CronQueueTestDatabaseDelayException core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php A queue worker for testing cron exception handling.
CronQueueTestException 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}
)
CronQueueTestLeaseTime 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}
)
CronQueueTestMemoryDelayException core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.php A queue worker for testing cron exception handling.
CronQueueTestRequeueException 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}
)

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