You are here

public function Simple::process in Advanced Queue 8

Processes the given job.

Parameters

\Drupal\advancedqueue\Job $job: The job.

Return value

\Drupal\advancedqueue\JobResult The job result.

Overrides JobTypeInterface::process

File

tests/modules/advancedqueue_test/src/Plugin/AdvancedQueue/JobType/Simple.php, line 22

Class

Simple
Simple job type.

Namespace

Drupal\advancedqueue_test\Plugin\AdvancedQueue\JobType

Code

public function process(Job $job) {
  return JobResult::success();
}