protected function LingotekComment::updateLingotekDocument in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.2 lib/Drupal/lingotek/LingotekComment.php \LingotekComment::updateLingotekDocument()
- 7.3 lib/Drupal/lingotek/LingotekComment.php \LingotekComment::updateLingotekDocument()
Updates the existing Lingotek Documemnt for this comment.
Return value
bool TRUE if the document create operation was successful, FALSE on error.
1 call to LingotekComment::updateLingotekDocument()
- LingotekComment::contentUpdated in lib/
Drupal/ lingotek/ LingotekComment.php - Event handler for updates to the comment's data.
File
- lib/
Drupal/ lingotek/ LingotekComment.php, line 173 - Defines LingotekComment.
Class
- LingotekComment
- A class wrapper for Lingotek-specific behavior on Comments.
Code
protected function updateLingotekDocument() {
$result = $this->api
->updateContentDocument($this);
return $result ? TRUE : FALSE;
}