You are here

public function Job::getTargetLangcode in Translation Management Tool 8

Returns the target language code.

Return value

string The target language code

Overrides JobInterface::getTargetLangcode

1 call to Job::getTargetLangcode()
Job::getRemoteTargetLanguage in src/Entity/Job.php
Returns remote target language code.

File

src/Entity/Job.php, line 194

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getTargetLangcode() {
  return $this
    ->get('target_language')->value;
}