You are here

protected function LingotekConfigSet::createLingotekDocument in Lingotek Translation 7.6

Creates a Lingotek Document for this config set.

Return value

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

1 call to LingotekConfigSet::createLingotekDocument()
LingotekConfigSet::contentUpdated in lib/Drupal/lingotek/LingotekConfigSet.php
Event handler for updates to the config set's data.

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 579
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

protected function createLingotekDocument() {
  return $this->api
    ->addContentDocumentWithTargets($this) ? TRUE : FALSE;
}