- Patch #963060 by boombatower: documentation problem with hook_view().

merge-requests/26/head
Dries Buytaert 2010-11-05 19:58:14 +00:00
parent 4a5e9447c0
commit ce5ff31cda
1 changed files with 1 additions and 1 deletions

View File

@ -1222,7 +1222,7 @@ function hook_view($node, $view_mode) {
}
$node->content['myfield'] = array(
'#value' => theme('mymodule_myfield', $node->myfield),
'#markup' => theme('mymodule_myfield', $node->myfield),
'#weight' => 1,
);