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