You are here

public function TMGMTJob::isSubmittable in Translation Management Tool 7

Checks whether a job is submittable.

Return value

boolean TRUE if the job can be submitted, FALSE otherwise.

File

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

Class

TMGMTJob
Entity class for the tmgmt_job entity.

Code

public function isSubmittable() {
  return $this
    ->isUnprocessed() || $this
    ->isRejected();
}