You are here

public function JobItem::isNeedsReview in Translation Management Tool 8

Checks whether the state of this transaction is 'needs review'.

Return value

bool TRUE if the state is 'needs review', FALSE otherwise.

Overrides JobItemInterface::isNeedsReview

2 calls to JobItem::isNeedsReview()
JobItem::acceptTranslation in src/Entity/JobItem.php
Propagates the returned job item translations to the sources.
JobItem::isAbortable in src/Entity/JobItem.php

File

src/Entity/JobItem.php, line 610

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isNeedsReview() {
  return $this
    ->isState(static::STATE_REVIEW);
}