public function LingotekContentTranslationServiceInterface::loadByDocumentId in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::loadByDocumentId()
- 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 349
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function loadByDocumentId($document_id);