You are here

public function Job::isFinished in Translation Management Tool 8

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

Return value

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

Overrides JobInterface::isFinished

File

src/Entity/Job.php, line 614

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isFinished() {
  return $this
    ->isState(static::STATE_FINISHED);
}