You are here

public function TMGMTDefaultSourcePluginController::getExistingLangCodes in Translation Management Tool 7

Gets existing translation language codes of the job item source.

Returns language codes that can be used as the source language for a translation job.

Parameters

TMGMTJobItem $job_item: The job item.

Return value

array Array of language codes.

Overrides TMGMTSourcePluginControllerInterface::getExistingLangCodes

5 methods override TMGMTDefaultSourcePluginController::getExistingLangCodes()
TMGMTEntitySourcePluginController::getExistingLangCodes in sources/entity/tmgmt_entity.plugin.inc
Gets existing translation language codes of the job item source.
TMGMTI18nStringSourcePluginController::getExistingLangCodes in sources/i18n_string/tmgmt_i18n_string.plugin.inc
Gets existing translation language codes of the job item source.
TMGMTLocaleSourcePluginController::getExistingLangCodes in sources/locale/tmgmt_locale.plugin.inc
Gets existing translation language codes of the job item source.
TMGMTNodeSourcePluginController::getExistingLangCodes in sources/node/tmgmt_node.plugin.inc
Gets existing translation language codes of the job item source.
TMGMTTestSourcePluginController::getExistingLangCodes in tests/tmgmt_test.plugin.source.inc
Gets existing translation language codes of the job item source.

File

plugin/tmgmt.plugin.source.inc, line 60
Contains the abstract source base plugin class.

Class

TMGMTDefaultSourcePluginController
Default controller class for source plugins.

Code

public function getExistingLangCodes(TMGMTJobItem $job_item) {
  return array();
}