You are here

public function LocalTaskItem::getJobItem in Translation Management Tool 8

Returns the translation job item.

Return value

\Drupal\tmgmt\JobItemInterface The JobItem.

Overrides LocalTaskItemInterface::getJobItem

1 call to LocalTaskItem::getJobItem()
LocalTaskItem::label in translators/tmgmt_local/src/Entity/LocalTaskItem.php
Gets the label of the entity.

File

translators/tmgmt_local/src/Entity/LocalTaskItem.php, line 134

Class

LocalTaskItem
Entity class for the local task item entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function getJobItem() {
  return $this
    ->get('tjiid')->entity;
}