You are here

public function JobResult::getState in Advanced Queue 8

Gets the state.

Return value

string The state. Job::STATE_SUCCESS or JOB::STATE_FAILURE.

File

src/JobResult.php, line 96

Class

JobResult
Represents a job result.

Namespace

Drupal\advancedqueue

Code

public function getState() {
  return $this->state;
}