public function TMGMTLocaleSourcePluginController::getSourceLangCode in Translation Management Tool 7
Gets language code of the job item source.
Parameters
TMGMTJobItem $job_item: The job item.
Return value
string Language code.
Overrides TMGMTSourcePluginControllerInterface::getSourceLangCode
File
- sources/
locale/ tmgmt_locale.plugin.inc, line 224 - Provides the locale source controller.
Class
- TMGMTLocaleSourcePluginController
- Translation plugin controller for locale strings.
Code
public function getSourceLangCode(TMGMTJobItem $job_item) {
// For the locale source English is always the source language.
return 'en';
}