You are here

function mob_queue_cron_queue_info_alter in Drush Queue Handling 7

Implements hook_cron_info_alter().

File

./mob_queue.module, line 51
Module for the cron queue management - a small yet powerful queue tool

Code

function mob_queue_cron_queue_info_alter(&$queues) {
  foreach ($queues as $name => $queue) {
    if (variable_get('mob_queue_' . $name, 0)) {
      $queues[$name]['mob_queue'] = TRUE;
      $queues[$name]['skip on cron'] = TRUE;
    }
  }
}