You are here

function lingotek_get_profile_options in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_get_profile_options()
  2. 7.6 lingotek.module \lingotek_get_profile_options()
1 call to lingotek_get_profile_options()
lingotek_get_node_settings_form in ./lingotek.module
Display the Lingotek node-settings form
1 string reference to 'lingotek_get_profile_options'
lingotek_rules_action_info in ./lingotek.rules.inc
Implements hook_rules_action_info().

File

./lingotek.module, line 1185

Code

function lingotek_get_profile_options() {
  $profiles = lingotek_get_profiles();
  $profile_options = array();
  foreach ($profiles as $key => $profile) {
    $profile_options[$key] = t($profile['name']);
  }
  $profile_options[LingotekSync::PROFILE_CUSTOM] = t('Custom');
  $profile_options[LingotekSync::PROFILE_DISABLED] = t('Disabled');
  return $profile_options;
}