#688862 by webchick: Fixed Documentation problem with hook_node_view().

merge-requests/26/head
Angie Byron 2010-01-19 04:53:45 +00:00
parent 78c835e43a
commit 78bc4c325c
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ function hook_node_validate($node, $form) {
*/
function hook_node_view($node, $view_mode) {
$node->content['my_additional_field'] = array(
'#value' => $additional_field,
'#markup' => $additional_field,
'#weight' => 10,
'#theme' => 'mymodule_my_additional_field',
);