You are here

public function Job::isContinuousInactive in Translation Management Tool 8

Returns whether the state of this jon is 'continuous_inactive'.

Return value

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

Overrides JobInterface::isContinuousInactive

1 call to Job::isContinuousInactive()
Job::preSave in src/Entity/Job.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/Job.php, line 628

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isContinuousInactive() {
  return $this
    ->isState(static::STATE_CONTINUOUS_INACTIVE);
}