public function LingotekApi::listTranslationTargets in Lingotek Translation 7.7
Gets the Target Tranlsations of the specified document.
Parameters
int $document_id: The ID of the Lingotek Document to retrieve.
Return value
mixed The API response object with Lingotek Document data, or FALSE on error.
File
- lib/
Drupal/ lingotek/ LingotekApi.php, line 631 - Defines Drupal\lingotek\LingotekApi
Class
- LingotekApi
- @file Defines Drupal\lingotek\LingotekApi
Code
public function listTranslationTargets($document_id) {
$params['documentId'] = $document_id;
$targetTranslations = $this
->request('listTranslationTargets', $params);
return $targetTranslations;
}