interface LanguageLocaleMapperInterface in Lingotek Translation 3.1.x
Same name and namespace in other branches
- 8 src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 8.2 src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 4.0.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.0.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.2.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.3.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.4.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.5.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.6.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.7.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
- 3.8.x src/LanguageLocaleMapperInterface.php \Drupal\lingotek\LanguageLocaleMapperInterface
Hierarchy
- interface \Drupal\lingotek\LanguageLocaleMapperInterface
Expanded class hierarchy of LanguageLocaleMapperInterface
All classes that implement LanguageLocaleMapperInterface
21 files declare their use of LanguageLocaleMapperInterface
- LingotekCliService.php in src/
Cli/ LingotekCliService.php - LingotekCliServiceTest.php in tests/
src/ Unit/ Cli/ LingotekCliServiceTest.php - LingotekConfigManagementForm.php in src/
Form/ LingotekConfigManagementForm.php - LingotekConfigTranslationController.php in src/
Controller/ LingotekConfigTranslationController.php - LingotekContentEntityConfigurableActionBase.php in src/
Plugin/ Action/ LingotekContentEntityConfigurableActionBase.php
File
- src/
LanguageLocaleMapperInterface.php, line 5
Namespace
Drupal\lingotekView source
interface LanguageLocaleMapperInterface {
/**
* Gets the Drupal language for the given Lingotek locale.
*
* @param string $locale
* The Lingotek locale.
*
* @return \Drupal\language\ConfigurableLanguageInterface|null
* The Drupal language created for this locale, or NULL if there is none.
*/
public function getConfigurableLanguageForLocale($locale);
/**
* Gets the Lingotek locale for the given Drupal langcode.
*
* @param string $langcode
* The Drupal langcode.
*
* @return \Drupal\language\ConfigurableLanguageInterface|null
* The Lingotek locale.
*/
public function getLocaleForLangcode($langcode);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LanguageLocaleMapperInterface:: |
public | function | Gets the Drupal language for the given Lingotek locale. | 1 |
LanguageLocaleMapperInterface:: |
public | function | Gets the Lingotek locale for the given Drupal langcode. | 1 |