You are here

public function LingotekInterface::downloadDocument in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  2. 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  3. 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  4. 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  5. 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  6. 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  7. 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  8. 3.4.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  9. 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  10. 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
  11. 3.8.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()

Gets the translation of a document for a given locale.

Parameters

string $doc_id: The document ID in Lingotek.

$locale: The locale we want to know the translation status.

Return value

array Returns array with the content of the document.

2 methods override LingotekInterface::downloadDocument()
Lingotek::downloadDocument in src/Lingotek.php
Gets the translation of a document for a given locale.
LingotekFake::downloadDocument in tests/modules/lingotek_test/src/LingotekFake.php
Gets the translation of a document for a given locale.

File

src/LingotekInterface.php, line 334

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function downloadDocument($doc_id, $locale);