You are here

public function Job::isUnprocessed in Translation Management Tool 8

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

Return value

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

Overrides JobInterface::isUnprocessed

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

File

src/Entity/Job.php, line 586

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isUnprocessed() {
  return $this
    ->isState(Job::STATE_UNPROCESSED);
}