[documentation] [Documentation bug] node_example_view doesn't return $node as it should

lyricnz drupal-docs at drupal.org
Sat Aug 26 14:13:43 UTC 2006


Issue status update for 
http://drupal.org/node/80803
Post a follow up: 
http://drupal.org/project/comments/add/80803

 Project:      Documentation
 Version:      <none>
 Component:    Misc
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  lyricnz
 Updated by:   lyricnz
 Status:       active

In fact (of course) the example is largely 4.7 sample code, the other
changes in this area aren't quite up-to-date. I'd submit new code, but
this is Day Three for me :)




lyricnz



Previous comments:
------------------------------------------------------------------------

Sat, 26 Aug 2006 14:09:32 +0000 : lyricnz

The Converting 4.7 modules to 4.8/HEAD [1] guide shows that hook_view()
needs to return $node, but this is not used in node_example_view [2]
for HEAD
[1] http://drupal.org/node/64279#node-view
[2] http://api.drupal.org/api/head/function/node_example_view






More information about the documentation mailing list