public function TranslatorPluginInterface::getDefaultRemoteLanguagesMappings

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.

Related topics

1 method overrides TranslatorPluginInterface::getDefaultRemoteLanguagesMappings()
TranslatorPluginBase::getDefaultRemoteLanguagesMappings in src/TranslatorPluginBase.php
Specifies default mappings for local to remote language codes.

File

src/TranslatorPluginInterface.php, line 51

Class

TranslatorPluginInterface
Interface for service plugin controllers.

Namespace

Drupal\tmgmt

Code

public function getDefaultRemoteLanguagesMappings();