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