You are here

function hook_feedback_presave in Feedback 7.2

Act on a feedback entry before it is saved.

Modules implementing this hook can act on the feedback entry object before it is inserted or updated.

Parameters

$entry: The feedback entry object.

1 invocation of hook_feedback_presave()
feedback_save in ./feedback.module
Saves changes to a feedback entry or adds a new feedback entry.

File

./feedback.api.php, line 35
Hooks provided by the Feedback module.

Code

function hook_feedback_presave($entry) {
  $entry->foo = 'bar';
}