protected function LingotekImportForm::downloadDocumentContent in Lingotek Translation 8
1 call to LingotekImportForm::downloadDocumentContent()
- LingotekImportForm::import in src/
Form/ LingotekImportForm.php - This function is to import a document from the TMS.
File
- src/
Form/ LingotekImportForm.php, line 224 - Contains \Drupal\Lingotek\Form\LingotekManagementForm.
Class
- LingotekImportForm
- @file Contains \Drupal\Lingotek\Form\LingotekManagementForm.
Namespace
Drupal\lingotek\FormCode
protected function downloadDocumentContent($doc_id) {
$translation_service = \Drupal::service('lingotek.content_translation');
$response = $translation_service
->downloadDocumentContent($doc_id);
return $response;
}