public function LingotekEntity::getSourceLocale in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getSourceLocale()
- 7.6 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getSourceLocale()
Overrides LingotekTranslatableEntity::getSourceLocale
File
- lib/
Drupal/ lingotek/ LingotekEntity.php, line 320 - Defines LingotekEntity.
Class
- LingotekEntity
- A class wrapper for Lingotek-specific behavior on nodes.
Code
public function getSourceLocale() {
return Lingotek::convertDrupal2Lingotek($this->entity->language);
}