public function JobItem::isAccepted in Translation Management Tool 8
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 583
Class
- JobItem
- Entity class for the tmgmt_job_item entity.
Namespace
Drupal\tmgmt\EntityCode
public function isAccepted() {
return $this
->isState(static::STATE_ACCEPTED);
}