function cron_queue_test_cron_queue_info

Implements hook_cron_queue_info().

File

modules/system/tests/cron_queue_test.module, line 6

Code

function cron_queue_test_cron_queue_info() {
    $queues['cron_queue_test_exception'] = array(
        'worker callback' => 'cron_queue_test_exception',
    );
    $queues['cron_queue_test_callback'] = array(
        'worker callback' => array(
            'CronQueueTestCallbackClass',
            'foo',
        ),
    );
    return $queues;
}

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