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
|
* An associative array where the key is the queue name and the value is
|
||||||
* again an associative array. Possible keys are:
|
* again an associative array. Possible keys are:
|
||||||
* - 'worker callback': The name of the function to call. It will be called
|
* - 'worker callback': The name of the function to call. It will be called
|
||||||
* with one argument, the item created via DrupalQueue::createItem() in
|
* with one argument, the item created via DrupalQueue::createItem().
|
||||||
* hook_cron().
|
|
||||||
* - 'time': (optional) How much time Drupal should spend on calling this
|
* - 'time': (optional) How much time Drupal should spend on calling this
|
||||||
* worker in seconds. Defaults to 15.
|
* worker in seconds. Defaults to 15.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue