function hook_mob_queue_queue_processed in Drush Queue Handling 8
Same name and namespace in other branches
- 7 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()
2 invocations of hook_mob_queue_queue_processed()
- drush_mob_queue_mob_exe_queue in ./
mob_queue.drush.inc - Run the queued job.
- MobQueueCommands::exeQueue in src/
Commands/ MobQueueCommands.php - Execute mob_queue queued tasks.
File
- ./
mob_queue.api.php, line 75 - Hooks provided by the Drush Queue Handling module.
Code
function hook_mob_queue_queue_processed($queue_name, $info, $queues) {
\Drupal::logger('mymodule')
->notice('Queue @queue has been processed.', array(
'@queue' => $queue_name,
));
}