public function LingotekContentTranslationServiceInterface::downloadDocument in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
- 3.8.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::downloadDocument()
Downloads a document from the Lingotek service for a given locale.
Parameters
\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity being downloaded.
string $locale: Lingotek translation language which we want to download.
Return value
bool TRUE if the document was downloaded successfully, FALSE if not.
1 method overrides LingotekContentTranslationServiceInterface::downloadDocument()
- LingotekContentTranslationService::downloadDocument in src/
LingotekContentTranslationService.php - Downloads a document from the Lingotek service for a given locale.
File
- src/
LingotekContentTranslationServiceInterface.php, line 258
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function downloadDocument(ContentEntityInterface &$entity, $locale);