You are here

public function TMGMTJob::isRejected in Translation Management Tool 7

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

Return value

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

1 call to TMGMTJob::isRejected()
TMGMTJob::isSubmittable in entity/tmgmt.entity.job.inc
Checks whether a job is submittable.

File

entity/tmgmt.entity.job.inc, line 478

Class

TMGMTJob
Entity class for the tmgmt_job entity.

Code

public function isRejected() {
  return $this
    ->isState(TMGMT_JOB_STATE_REJECTED);
}