function _casetracker_actions_log in Case Tracker 7
Same name and namespace in other branches
- 6 casetracker_actions/casetracker_actions.module \_casetracker_actions_log()
Watchdog logging & verbose user message for actions
1 call to _casetracker_actions_log()
- _casetracker_actions_act in casetracker_actions/
casetracker_actions.module - generalized casetracker update function All casetracker actions have the same fundamental behavior.
File
- casetracker_actions/
casetracker_actions.module, line 335 - casetracker_actions.module
Code
function _casetracker_actions_log($field, $value, $nid) {
watchdog('action', 'Case nid %nid: %field set to %value.', array(
'%field' => $field,
'%value' => $value,
'%nid' => $nid,
));
drupal_set_message(t("Case #%nid: %field set to %value", array(
'%nid' => $nid,
'%field' => $field,
'%value' => $value,
)));
}