You are here

protected static function LingotekConfigSet::getLidsForTextgroup in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::getLidsForTextgroup()

File

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

Class

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

Code

protected static function getLidsForTextgroup($textgroup) {
  $query = db_select('locales_source', 'ls')
    ->fields('ls', array(
    'lid',
  ))
    ->condition('textgroup', $textgroup)
    ->execute();
  $lids = $query
    ->fetchCol();
  return $lids;
}