You are here

public function LingotekApi::getDocument in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 8 src/Remote/LingotekApi.php \Drupal\lingotek\Remote\LingotekApi::getDocument()

Parameters

$id:

Return value

mixed

Throws

\Drupal\lingotek\Exception\LingotekApiException

Overrides LingotekApiInterface::getDocument

Deprecated

in 8.x-1.4. Use ::getDocumentStatus() instead.

File

src/Remote/LingotekApi.php, line 194

Class

LingotekApi
A simple connector to the Lingotek Translation API.

Namespace

Drupal\lingotek\Remote

Code

public function getDocument($id) {
  return $this
    ->getDocumentStatus($id);
}