Issue #2061275 by StephaneQ, cconrad: Do not confuse hook_cron_queue_info with hook_cron in docs
parent
1deabbd25b
commit
9b377a4580
|
@ -607,8 +607,7 @@ function hook_cron() {
|
|||
* An associative array where the key is the queue name and the value is
|
||||
* again an associative array. Possible keys are:
|
||||
* - 'worker callback': The name of the function to call. It will be called
|
||||
* with one argument, the item created via DrupalQueue::createItem() in
|
||||
* hook_cron().
|
||||
* with one argument, the item created via DrupalQueue::createItem().
|
||||
* - 'time': (optional) How much time Drupal should spend on calling this
|
||||
* worker in seconds. Defaults to 15.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue