namespace Drupal\cron_queue_test\Plugin\QueueWorker

Same name in other branches
  1. 9 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}
)
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}
)
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.