Commit 994b3c31 authored by Dries's avatar Dries

Issue #2061275 by StephaneQ: Page falsely states that hook_cron() is required...

Issue #2061275 by StephaneQ: Page falsely states that hook_cron() is required to use hook_cron_queue_info().
parent 38680332
......@@ -162,7 +162,7 @@ function hook_data_type_info_alter(&$data_types) {
* again an associative array. Possible keys are:
* - 'worker callback': A PHP callable to call. It will be called
* with one argument, the item created via
* Drupal\Core\Queue\QueueInterface::createItem() in hook_cron().
* \Drupal\Core\Queue\QueueInterface::createItem().
* - 'cron': (optional) An associative array containing the optional key:
* - 'time': (optional) How much time Drupal cron should spend on calling
* this worker in seconds. Defaults to 15.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment