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