public property QueueWorker::$cron
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.
Type: array (optional)
File
- core/lib/Drupal/Core/Annotation/QueueWorker.php, line 61
Class
- QueueWorker
- Declare a worker class for processing a queue item.
Namespace
Drupal\Core\AnnotationCode
public $cron;
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Annotation!QueueWorker.php/property/QueueWorker::cron/8.1.x