1 cron_example.module cron_example_queue_1_worker($item)

Simple worker for our queues.

Parameters

object $item: Any object to be worked on.

Related topics

File

modules/examples/cron_example/cron_example.module, line 234
Demonstrates use of the Cron API in Backdrop - hook_cron()

Code

function cron_example_queue_1_worker($item) {
  cron_example_queue_report_work(1, $item);
}