You are here

public function TranslatorInterface::getSupportedLanguagePairs in Translation Management Tool 8

Gets the supported language pairs for this translator.

Return value

array List of language pairs where a pair is an associative array of source_language and target_language. Example: array( array('source_language' => 'en-US', 'target_language' => 'de-DE'), array('source_language' => 'en-US', 'target_language' => 'de-CH'), )

1 method overrides TranslatorInterface::getSupportedLanguagePairs()
Translator::getSupportedLanguagePairs in src/Entity/Translator.php
Gets the supported language pairs for this translator.

File

src/TranslatorInterface.php, line 144

Class

TranslatorInterface
Interface for the tmgmt_translator entity.

Namespace

Drupal\tmgmt

Code

public function getSupportedLanguagePairs();