You are here

public function Retry::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/Retry.php, line 24

Class

Retry
Retry job type.

Namespace

Drupal\advancedqueue_test\Plugin\AdvancedQueue\JobType

Code

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