public property QueueWorker::$cron in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Annotation/QueueWorker.php \Drupal\Core\Annotation\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 63 - Contains \Drupal\Core\Annotation\QueueWorker.
Class
- QueueWorker
- Declare queue workers that need to be run periodically.
Namespace
Drupal\Core\AnnotationCode
public $cron;