- Patch #963060 by boombatower: documentation problem with hook_view().
parent
4a5e9447c0
commit
ce5ff31cda
|
@ -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,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue