function hook_feedback_view in Feedback 7.2
The feedback entry is being displayed.
The module should format its custom additions for display and add them to the $entry->content array.
Parameters
$entry: The feedback entry object.
$view_mode: View mode, e.g. 'full'.
$langcode: The language code used for rendering.
See also
1 invocation of hook_feedback_view()
- feedback_build_content in ./
feedback.admin.inc - Builds a structured array representing the feedback entry's content.
File
- ./
feedback.api.php, line 101 - Hooks provided by the Feedback module.
Code
function hook_feedback_view($entry, $view_mode, $langcode) {
$entry->content['foo'] = array(
'#markup' => t('Bar'),
);
}