public function Job::isAborted

Returns whether the state of this job is 'aborted'.

Return value

bool TRUE if the state is 'aborted', FALSE otherwise.

Overrides JobInterface::isAborted

1 call to Job::isAborted()
Job::preSave in src/Entity/Job.php

File

src/Entity/Job.php, line 599

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isAborted() {
  return $this
    ->isState(static::STATE_ABORTED);
}