mob_queue.module in Drush Queue Handling 8
Same filename and directory in other branches
Module for the cron queue management - a handy queue tool
File
mob_queue.moduleView source
<?php
/**
* @file
* Module for the cron queue management - a handy queue tool
*/
/**
* Implements hook_queue_info_alter().
*/
function mob_queue_queue_info_alter(&$queues) {
$mob_queues = \Drupal::config('mob_queue.settings')
->get('mob_qinfo');
foreach ($queues as $name => $queue) {
if (isset($mob_queues[$name]) && $mob_queues[$name]) {
if (isset($queue['cron'])) {
unset($queues[$name]['cron']);
}
}
}
}
Functions
Name | Description |
---|---|
mob_queue_queue_info_alter | Implements hook_queue_info_alter(). |