Simple worker for our queues.

Parameters

object $item: Any object to be worked on.

Related topics

1 string reference to 'cron_example_queue_2_worker'
cron_example_cron_queue_info in cron_example/cron_example.module
Implements hook_cron_queue_info().

File

cron_example/cron_example.module, line 231
Demonstrates use of the Cron API in Drupal - hook_cron()

Code

function cron_example_queue_2_worker($item) {
  cron_example_queue_report_work(2, $item);
}