You are here

public function JobTypeInterface::process in Advanced Queue 8

Processes the given job.

Parameters

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

Return value

\Drupal\advancedqueue\JobResult The job result.

4 methods override JobTypeInterface::process()
Flexible::process in tests/modules/advancedqueue_test/src/Plugin/AdvancedQueue/JobType/Flexible.php
Processes the given job.
Retry::process in tests/modules/advancedqueue_test/src/Plugin/AdvancedQueue/JobType/Retry.php
Processes the given job.
Simple::process in tests/modules/advancedqueue_test/src/Plugin/AdvancedQueue/JobType/Simple.php
Processes the given job.
Sleepy::process in tests/modules/advancedqueue_test/src/Plugin/AdvancedQueue/JobType/Sleepy.php
Processes the given job.

File

src/Plugin/AdvancedQueue/JobType/JobTypeInterface.php, line 56

Class

JobTypeInterface
Defines the interface for job types.

Namespace

Drupal\advancedqueue\Plugin\AdvancedQueue\JobType

Code

public function process(Job $job);