public function Job::getTranslatorId

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 506

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

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