public function LingotekNode::lingotekDocumentId in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.2 lib/Drupal/lingotek/LingotekNode.php \LingotekNode::lingotekDocumentId()
- 7.3 lib/Drupal/lingotek/LingotekNode.php \LingotekNode::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/ LingotekNode.php, line 145 - Defines LingotekNode.
Class
- LingotekNode
- A class wrapper for Lingotek-specific behavior on nodes.
Code
public function lingotekDocumentId() {
return $this->node->lingotek['document_id'];
}