function cron_queue_test_exception
2 string references to 'cron_queue_test_exception'
- CronQueueTestCase::testExceptions in modules/
system/ system.test - Tests that exceptions thrown by workers are handled properly.
- cron_queue_test_cron_queue_info in modules/
system/ tests/ cron_queue_test.module - Implements hook_cron_queue_info().
File
-
modules/
system/ tests/ cron_queue_test.module, line 17
Code
function cron_queue_test_exception($item) {
throw new Exception('That is not supposed to happen.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.