public function JobItem::getState in Translation Management Tool 8
Returns the state of the job item. Can be one of the job item state constants.
Return value
int The state of the job item.
Overrides JobItemInterface::getState
1 call to JobItem::getState()
- JobItem::isState in src/
Entity/ JobItem.php - Checks whether the passed value matches the current state.
File
- src/
Entity/ JobItem.php, line 569
Class
- JobItem
- Entity class for the tmgmt_job_item entity.
Namespace
Drupal\tmgmt\EntityCode
public function getState() {
return $this
->get('state')->value;
}