You are here

function lingotek_tnid in Lingotek Translation 6

File

./lingotek.api.inc, line 168

Code

function lingotek_tnid($node) {
  $tnid = lingotek_lingonode($node->nid, 'tnid');
  if ($tnid) {
    return $tnid;
  }
  else {
    return $node->tnid;
  }
}