function hook_cron_job_scheduler_queue_info in Job Scheduler 8.2
Same name and namespace in other branches
- 8.3 job_scheduler.api.php \hook_cron_job_scheduler_queue_info()
Declare job scheduler queue information.
Return value
array Information for the schedule.
See also
hook_cron_job_scheduler_queue_info_alter()
1 invocation of hook_cron_job_scheduler_queue_info()
- job_scheduler_queue_info in ./
job_scheduler.module - Collects and returns scheduler queue info.
File
- ./
job_scheduler.api.php, line 62 - API documentation for hooks.
Code
function hook_cron_job_scheduler_queue_info() {
$info = [];
$info['example_import_queue'] = [
'title' => 'Job Scheduler Example',
'time' => 60,
];
return $info;
}