You are here

public static function LingotekSync::getWorkflowIdFromConfigSet in Lingotek Translation 7.7

1 call to LingotekSync::getWorkflowIdFromConfigSet()
lingotek_get_change_workflow_form in ./lingotek.module

File

lib/Drupal/lingotek/LingotekSync.php, line 1041
LingotekSync

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function getWorkflowIdFromConfigSet($sid) {
  $query = db_select('lingotek_config_metadata', 'lcm');
  $query
    ->addField('lcm', 'value');
  $query
    ->condition('id', $sid, '=');
  return $query
    ->execute()
    ->fetchCol();
}