function casetracker_actions_set_priority_action in Case Tracker 7
Same name and namespace in other branches
- 6 casetracker_actions/casetracker_actions.module \casetracker_actions_set_priority_action()
Set Priority action behavior.
File
- casetracker_actions/
casetracker_actions.module, line 61 - casetracker_actions.module
Code
function casetracker_actions_set_priority_action(&$object, $context = array()) {
$nid = _casetracker_actions_get_nid($object->nid, $context['nid']);
_casetracker_actions_act($nid, 'case_priority_id', $context['priority']);
}