public function Job::getSourceLangcode in Translation Management Tool 8
Returns the source language code.
Return value
string The source language code
Overrides JobInterface::getSourceLangcode
2 calls to Job::getSourceLangcode()
- Job::cleanSuggestionsList in src/
Entity/ Job.php - Removes all suggestions from the given list which should not be processed.
- Job::getRemoteSourceLanguage in src/
Entity/ Job.php - Returns remote source language code.
File
- src/
Entity/ Job.php, line 208
Class
- Job
- Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\EntityCode
public function getSourceLangcode() {
return $this
->get('source_language')->value;
}