You are here

public function TMGMTJob::isActive in Translation Management Tool 7

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

Return value

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

2 calls to TMGMTJob::isActive()
TMGMTJob::isAbortable in entity/tmgmt.entity.job.inc
Checks whether a job is abortable.
TMGMTJob::isDeletable in entity/tmgmt.entity.job.inc
Checks whether a job is deletable.

File

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

Class

TMGMTJob
Entity class for the tmgmt_job entity.

Code

public function isActive() {
  return $this
    ->isState(TMGMT_JOB_STATE_ACTIVE);
}