You are here

public function LingotekInterfaceTranslationServiceInterface::updateDocument in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()
  2. 3.2.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()
  3. 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()
  4. 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()
  5. 3.5.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()
  6. 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()
  7. 3.8.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::updateDocument()

Resends a document to the translation service.

Parameters

string $component: The component being updated.

string $job_id: (optional) The job ID that will be associated.

Return value

bool TRUE if the document was updated successfully, FALSE if not.

Throws

\Drupal\lingotek\Exception\LingotekPaymentRequiredException

\Drupal\lingotek\Exception\LingotekDocumentArchivedException

\Drupal\lingotek\Exception\LingotekDocumentLockedException

\Drupal\lingotek\Exception\LingotekApiException

1 method overrides LingotekInterfaceTranslationServiceInterface::updateDocument()
LingotekInterfaceTranslationService::updateDocument in src/LingotekInterfaceTranslationService.php
Resends a document to the translation service.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 270

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function updateDocument($component, $job_id = NULL);