function ReportWorkerTwo::processItem

Same name in other branches
  1. 3.x modules/cron_example/src/Plugin/QueueWorker/ReportWorkerTwo.php \Drupal\cron_example\Plugin\QueueWorker\ReportWorkerTwo::processItem()

File

modules/cron_example/src/Plugin/QueueWorker/ReportWorkerTwo.php, line 25

Class

ReportWorkerTwo
A report worker.

Namespace

Drupal\cron_example\Plugin\QueueWorker

Code

public function processItem($data) {
    $this->reportWork(2, $data);
}