You are here

public function LingotekInterfaceTranslationServiceInterface::setDocumentId in Lingotek Translation 4.0.x

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

Sets the Lingotek document id for a given component.

Parameters

string $component: The component which we want to set a document id.

$doc_id: The document id in the Lingotek platform.

Return value

string The component.

1 method overrides LingotekInterfaceTranslationServiceInterface::setDocumentId()
LingotekInterfaceTranslationService::setDocumentId in src/LingotekInterfaceTranslationService.php
Sets the Lingotek document id for a given component.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 148

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function setDocumentId($component, $doc_id);