You are here

public function LingotekConfigTranslationServiceInterface::loadByDocumentId in Lingotek Translation 3.4.x

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

Loads the entity with the given document id.

Parameters

string $document_id: The document id.

Return value

ContentEntityInterface The entity with the given document id.

1 method overrides LingotekConfigTranslationServiceInterface::loadByDocumentId()
LingotekConfigTranslationService::loadByDocumentId in src/LingotekConfigTranslationService.php
Loads the entity with the given document id.

File

src/LingotekConfigTranslationServiceInterface.php, line 612

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function loadByDocumentId($document_id);