You are here

function casetracker_actions_set_assign_to_action in Case Tracker 7

Same name and namespace in other branches
  1. 6 casetracker_actions/casetracker_actions.module \casetracker_actions_set_assign_to_action()

Set Assign to action behavior.

File

casetracker_actions/casetracker_actions.module, line 85
casetracker_actions.module

Code

function casetracker_actions_set_assign_to_action(&$object, $context = array()) {
  $nid = _casetracker_actions_get_nid($object->nid, $context['nid']);
  _casetracker_actions_act($nid, 'assign_to', $context['assign_to']);
}