You are here

public function JobItem::isAbortable in Translation Management Tool 8

Return value

boolean

File

src/Entity/JobItem.php, line 591

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isAbortable() {
  if ($this
    ->isActive() || $this
    ->isNeedsReview()) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}