You are here

public function LingotekApi::getDocument in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 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 139
Contains \Drupal\lingotek\Remote\LingotekApi.

Class

LingotekApi

Namespace

Drupal\lingotek\Remote

Code

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