public function Job::getTargetLanguage in Translation Management Tool 8
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 - Gets the label of the entity.
File
- src/
Entity/ Job.php, line 187
Class
- Job
- Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\EntityCode
public function getTargetLanguage() {
return $this
->get('target_language')->language;
}