You are here

function lingotek_get_translation_target in Lingotek Translation 7.5

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

File

./lingotek.remote.inc, line 539

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;
  }
}