public function TranslatorPluginBase::getDefaultRemoteLanguagesMappings in Translation Management Tool 8
Specifies default mappings for local to remote language codes.
This method can be used in case we know in advance what language codes are used by the remote translator and to which local language codes they correspond.
Return value
array An array of local => remote language codes.
Overrides TranslatorPluginInterface::getDefaultRemoteLanguagesMappings
1 method overrides TranslatorPluginBase::getDefaultRemoteLanguagesMappings()
- TestTranslator::getDefaultRemoteLanguagesMappings in tmgmt_test/
src/ Plugin/ tmgmt/ Translator/ TestTranslator.php - Specifies default mappings for local to remote language codes.
File
- src/
TranslatorPluginBase.php, line 63
Class
- TranslatorPluginBase
- Default controller class for service plugins.
Namespace
Drupal\tmgmtCode
public function getDefaultRemoteLanguagesMappings() {
return array();
}