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