You are here

public function RemoteMapping::getJob in Translation Management Tool 8

Gets translation job.

Return value

\Drupal\tmgmt\JobInterface Returns the translation job.

Overrides RemoteMappingInterface::getJob

File

src/Entity/RemoteMapping.php, line 81

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getJob() {
  return Job::load($this
    ->get('tjid')->target_id);
}