You are here

public static function LingotekConfigChunk::getAllDocumentIds in Lingotek Translation 7.5

1 call to LingotekConfigChunk::getAllDocumentIds()
lingotek_form_bulk_sync_submit in ./lingotek.sync.inc
Submit handler for the lingotek_form_bulk_sync form. Calls the function that creates a batch job to do bulk sync.

File

lib/Drupal/lingotek/LingotekConfigChunk.php, line 964
Defines LingotekConfigChunk.

Class

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

Code

public static function getAllDocumentIds() {
  $result = db_select('{lingotek_config_metadata}', 'c')
    ->fields('c', array(
    'value',
  ))
    ->condition('c.config_key', 'document_id')
    ->execute();
  return $result
    ->fetchCol();
}