The example for hook_view() uses #value when it should use #markup.

  $node->content['myfield'] = array(
    '#value' => theme('mymodule_myfield', $node->myfield), 
    '#weight' => 1,
  );
CommentFileSizeAuthor
#1 963060-hook-view.patch589 bytesboombatower

Comments

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
StatusFileSize
new589 bytes
jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Good catch, good patch, quick fix, non-controversial... Thanks!

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.