public function LingotekInterfaceTranslationServiceInterface::setDocumentId in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setDocumentId()
- 3.2.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setDocumentId()
- 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setDocumentId()
- 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setDocumentId()
- 3.6.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setDocumentId()
- 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setDocumentId()
- 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\lingotekCode
public function setDocumentId($component, $doc_id);