public function LingotekInterface::downloadDocument in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.4.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::downloadDocument()
- 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
Namespace
Drupal\lingotekCode
public function downloadDocument($doc_id, $locale);