public function Job::getTargetLanguage

Returns the target language.

Return value

\Drupal\Core\Language\LanguageInterface The target language.

Overrides JobInterface::getTargetLanguage

1 call to Job::getTargetLanguage()
Job::label in src/Entity/Job.php

File

src/Entity/Job.php, line 187

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getTargetLanguage() {
  return $this
    ->get('target_language')->language;
}