function lingotek_entity_locale in Lingotek Translation 7.7
1 call to lingotek_entity_locale()
- LingotekProfile::loadByEntity in lib/
Drupal/ lingotek/ LingotekProfile.php
File
- ./
lingotek.util.inc, line 2668 - Utility functions.
Code
function lingotek_entity_locale($entity_type, $entity) {
$langcode = lingotek_entity_langcode($entity_type, $entity);
return Lingotek::convertDrupal2Lingotek($langcode);
}