public function LingotekEntity::lingotekDocumentId in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::lingotekDocumentId()
- 7.6 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::lingotekDocumentId()
Gets the Lingotek document ID for this entity.
Return value
mixed The integer document ID if the entity is associated with a Lingotek document. FALSE otherwise.
Overrides LingotekTranslatableEntity::lingotekDocumentId
File
- lib/
Drupal/ lingotek/ LingotekEntity.php, line 116 - Defines LingotekEntity.
Class
- LingotekEntity
- A class wrapper for Lingotek-specific behavior on nodes.
Code
public function lingotekDocumentId() {
return $this->entity->lingotek['document_id'];
}