You are here

function queue_ui_queue_info in Queue UI 7

Same name and namespace in other branches
  1. 6 queue_ui.module \queue_ui_queue_info()
  2. 7.2 queue_ui.module \queue_ui_queue_info()

File

./queue_ui.module, line 123
queue_ui.module

Code

function queue_ui_queue_info() {
  return array(
    'queue ui test_me' => array(
      'title' => t('Test queue'),
      'batch' => array(
        'operations' => array(
          array(
            'queue_ui_batch_test',
            array(),
          ),
        ),
        'finished' => 'queue_ui_batch_finished',
        'title' => t('Processing test queue'),
      ),
      'cron' => array(
        'callback' => 'queue_ui_test_process',
      ),
    ),
  );
}