Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Nov 2010 at 08:43 UTC
Updated:
19 Nov 2010 at 20:00 UTC
Jump to comment: Most recent file
The example for hook_view() uses #value when it should use #markup.
$node->content['myfield'] = array(
'#value' => theme('mymodule_myfield', $node->myfield),
'#weight' => 1,
);
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 963060-hook-view.patch | 589 bytes | boombatower |
Comments
Comment #1
boombatower commentedComment #2
jhodgdonGood catch, good patch, quick fix, non-controversial... Thanks!
Comment #3
dries commentedCommitted to CVS HEAD. Thanks.