public function JobItem::isInactive

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 639

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

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