You are here

public function TMGMTI18nStringSourcePluginController::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

1 call to TMGMTI18nStringSourcePluginController::getSourceLangCode()
TMGMTI18nStringSourcePluginController::getExistingLangCodes in sources/i18n_string/tmgmt_i18n_string.plugin.inc
Gets existing translation language codes of the job item source.

File

sources/i18n_string/tmgmt_i18n_string.plugin.inc, line 116
Provides the i18n string source controller.

Class

TMGMTI18nStringSourcePluginController
Translation plugin controller for i18n strings.

Code

public function getSourceLangCode(TMGMTJobItem $job_item) {
  return i18n_string_source_language();
}