You are here

function hook_mob_queue_queue_processed in Drush Queue Handling 7

Same name and namespace in other branches
  1. 8 mob_queue.api.php \hook_mob_queue_queue_processed()

A queue has been processed.

Parameters

string $queue_name: The queue name.

array $queue_info: The queue information array item as declared in the queue's hook_cron_queue_info().

array $queues: An array of cron queue information.

See also

hook_cron_queue_info()

1 invocation of hook_mob_queue_queue_processed()
drush_mob_queue_mob_exe_queue in ./mob_queue.drush.inc
Run the queued job.

File

./mob_queue.api.php, line 128
Hooks provided by the Drush Queue Handling module.

Code

function hook_mob_queue_queue_processed($queue_name, $info, $queues) {
  watchdog('mymodule', 'Queue @queue has been processed.', array(
    '@queue' => $queue_name,
  ));
}