public function Job::isRejected

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

Return value

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

Overrides JobInterface::isRejected

1 call to Job::isRejected()
Job::isSubmittable in src/Entity/Job.php
Checks whether a job is submittable.

File

src/Entity/Job.php, line 613

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isRejected() {
  return $this
    ->isState(static::STATE_REJECTED);
}