public function TMGMTTranslatorPluginControllerInterface::getSupportedTargetLanguages in Translation Management Tool 7
Returns all available target languages that are supported by this service when given a source language.
Parameters
TMGMTTranslator $translator: The translator entity.
$source_language: The source language.
Return value
array An array of remote languages in ISO format.
Related topics
1 method overrides TMGMTTranslatorPluginControllerInterface::getSupportedTargetLanguages()
- TMGMTDefaultTranslatorPluginController::getSupportedTargetLanguages in plugin/
tmgmt.plugin.translator.inc - Returns all available target languages that are supported by this service when given a source language.
File
- plugin/
tmgmt.plugin.interface.translator.inc, line 156 - Contains the source plugin interface.
Class
- TMGMTTranslatorPluginControllerInterface
- Interface for service plugin controllers.
Code
public function getSupportedTargetLanguages(TMGMTTranslator $translator, $source_language);