You are here

protected function LingotekConfigChunk::updateLingotekDocument in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::updateLingotekDocument()
  2. 7.5 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::updateLingotekDocument()

Updates the existing Lingotek Documemnt for this config chunk.

Return value

bool TRUE if the document create operation was successful, FALSE on error.

1 call to LingotekConfigChunk::updateLingotekDocument()
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 460
Defines LingotekConfigChunk.

Class

LingotekConfigChunk
A class wrapper for Lingotek-specific behavior on ConfigChunks.

Code

protected function updateLingotekDocument() {
  $result = $this->api
    ->updateContentDocument($this);
  return $result ? TRUE : FALSE;
}