You are here

public function LanguageLocaleMapperInterface::getConfigurableLanguageForLocale in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  2. 4.0.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  3. 3.0.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  4. 3.1.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  5. 3.2.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  6. 3.3.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  7. 3.4.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  8. 3.5.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  9. 3.6.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  10. 3.7.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
  11. 3.8.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()

Gets the Drupal language for the given Lingotek locale.

Parameters

string $locale: The Lingotek locale.

Return value

ConfigurableLanguageInterface|NULL The Drupal language created for this locale, or NULL if there is none.

1 method overrides LanguageLocaleMapperInterface::getConfigurableLanguageForLocale()
LanguageLocaleMapper::getConfigurableLanguageForLocale in src/LanguageLocaleMapper.php
Gets the Drupal language for the given Lingotek locale.

File

src/LanguageLocaleMapperInterface.php, line 18

Class

LanguageLocaleMapperInterface

Namespace

Drupal\lingotek

Code

public function getConfigurableLanguageForLocale($locale);