public function TMGMTSourcePluginControllerInterface::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.
5 methods override TMGMTSourcePluginControllerInterface::getSourceLangCode()
- TMGMTEntitySourcePluginController::getSourceLangCode in sources/
entity/ tmgmt_entity.plugin.inc - Gets language code of the job item source.
- TMGMTI18nStringSourcePluginController::getSourceLangCode in sources/
i18n_string/ tmgmt_i18n_string.plugin.inc - Gets language code of the job item source.
- TMGMTLocaleSourcePluginController::getSourceLangCode in sources/
locale/ tmgmt_locale.plugin.inc - Gets language code of the job item source.
- TMGMTNodeSourcePluginController::getSourceLangCode in sources/
node/ tmgmt_node.plugin.inc - Gets language code of the job item source.
- TMGMTTestSourcePluginController::getSourceLangCode in tests/
tmgmt_test.plugin.source.inc - Gets language code of the job item source.
File
- plugin/
tmgmt.plugin.interface.source.inc, line 87 - Contains the source plugin interface.
Class
- TMGMTSourcePluginControllerInterface
- Interface for source plugin controllers.
Code
public function getSourceLangCode(TMGMTJobItem $job_item);