You are here

public function JobItem::isInactive in Translation Management Tool 8

Checks whether the state of this transaction is 'inactive'.

Return value

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

Overrides JobItemInterface::isInactive

1 call to JobItem::isInactive()
JobItem::addTranslatedData in src/Entity/JobItem.php
Adds translated data to a job item.

File

src/Entity/JobItem.php, line 624

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isInactive() {
  return $this
    ->isState(static::STATE_INACTIVE);
}