interface LanguageLocaleMapperInterface in Lingotek Translation 8
Same name and namespace in other branches
- 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.1.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
11 files declare their use of LanguageLocaleMapperInterface
- LingotekConfigManagementForm.php in src/
Form/ LingotekConfigManagementForm.php - Contains \Drupal\Lingotek\Form\LingotekConfigManagementForm.
- LingotekConfigTranslationController.php in src/
Controller/ LingotekConfigTranslationController.php - LingotekContentTranslationForm.php in src/
Form/ LingotekContentTranslationForm.php - Contains \Drupal\lingotek\Form\LingotekContentTranslationForm.
- LingotekControllerBase.php in src/
Controller/ LingotekControllerBase.php - Contains \Drupal\lingotek\Controller\LingotekControllerBase.
- LingotekDashboardController.php in src/
Controller/ LingotekDashboardController.php
File
- src/
LanguageLocaleMapperInterface.php, line 7
Namespace
Drupal\lingotekView source
interface LanguageLocaleMapperInterface {
/**
* Gets the Drupal language for the given Lingotek locale.
*
* @param string $locale
* The Lingotek locale.
*
* @return 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 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 |