You are here

public function LingotekConfigTranslationServiceInterface::setConfigJobId in Lingotek Translation 3.0.x

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

Sets the job ID of a given mapper.

Parameters

\Drupal\config_translation\ConfigNamesMapper $mapper: The mapper we want to save a job id for.

$job_id: The job ID being saved.

bool $update_tms: (Optional) Flag indicating if the change should be communicated to the TMS. False by default.

Return value

\Drupal\Core\Entity\ContentEntityInterface Returns the mapper which job ID is saved.

Throws

\Drupal\lingotek\Exception\LingotekPaymentRequiredException

\Drupal\lingotek\Exception\LingotekDocumentArchivedException

\Drupal\lingotek\Exception\LingotekDocumentLockedException

\Drupal\lingotek\Exception\LingotekApiException

1 method overrides LingotekConfigTranslationServiceInterface::setConfigJobId()
LingotekConfigTranslationService::setConfigJobId in src/LingotekConfigTranslationService.php
Sets the job ID of a given mapper.

File

src/LingotekConfigTranslationServiceInterface.php, line 664

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function setConfigJobId(ConfigNamesMapper $mapper, $job_id, $update_tms = FALSE);