You are here

public function LingotekComment::getSourceLocale in Lingotek Translation 7.4

Overrides LingotekTranslatableEntity::getSourceLocale

File

lib/Drupal/lingotek/LingotekComment.php, line 501
Defines LingotekComment.

Class

LingotekComment
A class wrapper for Lingotek-specific behavior on Comments.

Code

public function getSourceLocale() {
  return Lingotek::convertDrupal2Lingotek($this->comment->language);
}