function hook_feedback_update in Feedback 7.2
Respond to updates to a feedback entry.
Parameters
$entry: The feedback entry object.
See also
1 function implements hook_feedback_update()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- feedback_feedback_update in ./
feedback.module - Implements hook_feedback_update().
1 invocation of hook_feedback_update()
- feedback_save in ./
feedback.module - Saves changes to a feedback entry or adds a new feedback entry.
File
- ./
feedback.api.php, line 64 - Hooks provided by the Feedback module.
Code
function hook_feedback_update($entry) {
db_update('mytable')
->fields(array(
'extra' => $entry->extra,
))
->condition('fid', $entry->fid)
->execute();
}