You are here

public property QueueWorker::$cron in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Annotation

Code

public $cron;