You are here

public function Job::getTranslatorId in Translation Management Tool 8

Returns the translator ID for this job.

Return value

int|null The translator ID or NULL if there is none.

Overrides JobInterface::getTranslatorId

1 call to Job::getTranslatorId()
Job::getTranslatorLabel in src/Entity/Job.php
Returns the label of the translator for this job.

File

src/Entity/Job.php, line 500

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getTranslatorId() {
  return $this
    ->get('translator')->target_id;
}