public function JobItem::isActive

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

Return value

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

Overrides JobItemInterface::isActive

2 calls to JobItem::isActive()
JobItem::addTranslatedData in src/Entity/JobItem.php
Adds translated data to a job item.
JobItem::isAbortable in src/Entity/JobItem.php

File

src/Entity/JobItem.php, line 618

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isActive() {
  return $this
    ->isState(static::STATE_ACTIVE);
}