You are here

public function Job::getReference in Translation Management Tool 8

Returns the reference.

Return value

string The reference set by the translator.

Overrides JobInterface::getReference

File

src/Entity/Job.php, line 229

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getReference() {
  return $this
    ->get('reference')->value;
}