function casetracker_actions_set_priority_action_form in Case Tracker 7
Same name and namespace in other branches
- 6 casetracker_actions/casetracker_actions.module \casetracker_actions_set_priority_action_form()
Select a priority level for the Set Priority action.
File
- casetracker_actions/
casetracker_actions.module, line 114 - casetracker_actions.module
Code
function casetracker_actions_set_priority_action_form($context) {
$case_priority_options = casetracker_realm_load('priority');
$default_priority = variable_get('casetracker_default_case_priority', key($case_priority_options));
$form['casetracker_actions_priority'] = array(
'#title' => t('Priority'),
'#type' => 'select',
'#description' => t('The case will be updated with the priority selected above.'),
'#default_value' => $default_priority,
'#options' => $case_priority_options,
);
return $form;
}