public property QueueWorker::$cron in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Annotation/QueueWorker.php \Drupal\Core\Annotation\QueueWorker::cron
- 9 core/lib/Drupal/Core/Annotation/QueueWorker.php \Drupal\Core\Annotation\QueueWorker::cron
An associative array containing an optional key.
This property is optional and it does not need to be declared.
Available keys:
- time (optional): How much time Drupal cron should spend on calling this worker in seconds. Defaults to 15.
Type: array
File
- core/
lib/ Drupal/ Core/ Annotation/ QueueWorker.php, line 65
Class
- QueueWorker
- Declare a worker class for processing a queue item.
Namespace
Drupal\Core\AnnotationCode
public $cron;