You are here

public function LingotekContentTranslationServiceInterface::loadByDocumentId in Lingotek Translation 3.2.x

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

Loads the entity with the given document id.

Parameters

string $document_id: The document id.

Return value

\Drupal\Core\Entity\ContentEntityInterface The entity with the given document id.

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

File

src/LingotekContentTranslationServiceInterface.php, line 330

Class

LingotekContentTranslationServiceInterface
Service for managing Lingotek content translations.

Namespace

Drupal\lingotek

Code

public function loadByDocumentId($document_id);