You are here

function lingotek_get_translation_target in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.3 lingotek.api.inc \lingotek_get_translation_target()
  2. 7.4 lingotek.api.inc \lingotek_get_translation_target()
  3. 7.5 lingotek.remote.inc \lingotek_get_translation_target()
  4. 7.6 lingotek.remote.inc \lingotek_get_translation_target()

File

./lingotek.api.inc, line 370

Code

function lingotek_get_translation_target($translation_target_id) {
  $params = array(
    'translationTargetId' => $translation_target_id,
  );
  $output = LingotekApi::instance()
    ->request("getTranslationTarget", $params);
  if ($output->results == "success") {
    return $output;
  }
}