public function JobItem::isAccepted

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

Return value

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

Overrides JobItemInterface::isAccepted

1 call to JobItem::isAccepted()
JobItem::recalculateStatistics in src/Entity/JobItem.php
Recalculate statistical word-data: pending, translated, reviewed, accepted.

File

src/Entity/JobItem.php, line 598

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isAccepted() {
  return $this
    ->isState(static::STATE_ACCEPTED);
}