public function Job::getSourceLanguage in Translation Management Tool 8
Returns the source language.
Return value
\Drupal\Core\Language\LanguageInterface The source language.
Overrides JobInterface::getSourceLanguage
1 call to Job::getSourceLanguage()
- Job::label in src/
Entity/ Job.php - Gets the label of the entity.
File
- src/
Entity/ Job.php, line 201
Class
- Job
- Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\EntityCode
public function getSourceLanguage() {
return $this
->get('source_language')->language;
}