public function LingotekConfigTranslationServiceInterface::getConfigSourceLocale in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.4.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
Gets the translation source locale of a given entity.
Parameters
ConfigNamesMapper $mapper: The entity which we want to get the source locale.
Return value
string The locale as expected by the Lingotek service.
1 method overrides LingotekConfigTranslationServiceInterface::getConfigSourceLocale()
- LingotekConfigTranslationService::getConfigSourceLocale in src/
LingotekConfigTranslationService.php - Gets the translation source locale of a given entity.
File
- src/
LingotekConfigTranslationServiceInterface.php, line 409 - Contains \Drupal\lingotek\LingotekConfigTranslationServiceInterface.
Class
- LingotekConfigTranslationServiceInterface
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function getConfigSourceLocale(ConfigNamesMapper $mapper);