You are here

public function TMGMTSourcePluginControllerInterface::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.

1 method overrides TMGMTSourcePluginControllerInterface::getExistingLangCodes()
TMGMTDefaultSourcePluginController::getExistingLangCodes in plugin/tmgmt.plugin.source.inc
Gets existing translation language codes of the job item source.

File

plugin/tmgmt.plugin.interface.source.inc, line 101
Contains the source plugin interface.

Class

TMGMTSourcePluginControllerInterface
Interface for source plugin controllers.

Code

public function getExistingLangCodes(TMGMTJobItem $job_item);