You are here

public function JobItem::getItemType in Translation Management Tool 8

Returns the item type.

Return value

string The item type.

Overrides JobItemInterface::getItemType

File

src/Entity/JobItem.php, line 255

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getItemType() {
  return $this
    ->get('item_type')->value;
}