You are here

public function JobItem::isAborted in Translation Management Tool 8

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

Return value

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

Overrides JobItemInterface::isAborted

1 call to JobItem::isAborted()
JobItem::needsReview in src/Entity/JobItem.php
Sets the state of the job item to 'needs review'.

File

src/Entity/JobItem.php, line 617

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isAborted() {
  return $this
    ->isState(static::STATE_ABORTED);
}