function ReportWorkerOne::processItem

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

File

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

Class

ReportWorkerOne
A report worker.

Namespace

Drupal\cron_example\Plugin\QueueWorker

Code

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