You are here

public function LingotekConfigSet::getWorkflowId in Lingotek Translation 7.6

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

Overrides LingotekTranslatableEntity::getWorkflowId

File

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

Class

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

Code

public function getWorkflowId() {
  $profiles = variable_get('lingotek_profiles');
  $config_profile = $profiles[LingotekSync::PROFILE_CONFIG];
  $workflow_id = array_key_exists('workflow_id', $config_profile) ? $config_profile['workflow_id'] : variable_get('lingotek_translate_config_workflow_id', '');
  return $workflow_id;
}