You are here

public function LingotekConfigTranslationServiceInterface::setConfigDocumentId in Lingotek Translation 3.3.x

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

Sets the document id in the Lingotek platform for a given entity.

Parameters

\Drupal\config_translation\ConfigNamesMapper $mapper: The entity which we want to set the document id.

string $document_id: The document id.

Return value

string The document id in the Lingotek platform.

1 method overrides LingotekConfigTranslationServiceInterface::setConfigDocumentId()
LingotekConfigTranslationService::setConfigDocumentId in src/LingotekConfigTranslationService.php
Sets the document id in the Lingotek platform for a given entity.

File

src/LingotekConfigTranslationServiceInterface.php, line 354

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function setConfigDocumentId(ConfigNamesMapper $mapper, $document_id);