Closed (fixed)
Project:
Examples for Developers
Version:
7.x-1.x-dev
Component:
NodeAPI Example
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2011 at 01:08 UTC
Updated:
4 Dec 2011 at 00:43 UTC
Jump to comment: Most recent file
Comments
Comment #1
rfayPlease give a more complete explanation of what you think is wrong, with a suggestion for replacement. For bonus points. please provide a patch.
Thanks,
-Randy
Comment #2
alberto56 commentedHi, here's the patch.
Nodeapi is implementing hook_node_view(), but states in the comment that it is implementing hook_view().
Cheers,
Albert.
Comment #3
rfayLooks good to me. Thanks.
Comment #4
alberto56 commented...which brings me to my next issue, #1342790: Provide example implementation for hook_view()
Albert.
Comment #5
rfayThanks -
7.x: http://drupalcode.org/project/examples.git/commitdiff/1d8a8ab
8.x: http://drupalcode.org/project/examples.git/commitdiff/4616cea
Please do go ahead with a patch for hook_view(). I think it will be useful.
Comment #6
alberto56 commentedthanks @rfay
I've tried for a while to understand how hook_view() works, but to no avail. If I do understand it, I'll submit a patch for sure!
Albert.