You are here

public function LanguageLocaleMapperInterface::getLocaleForLangcode in Lingotek Translation 8

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

Gets the Lingotek locale for the given Drupal langcode.

Parameters

string $langcode: The Drupal langcode.

Return value

ConfigurableLanguageInterface|NULL The Lingotek locale.

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

File

src/LanguageLocaleMapperInterface.php, line 29

Class

LanguageLocaleMapperInterface

Namespace

Drupal\lingotek

Code

public function getLocaleForLangcode($langcode);