[development] hook_link() documentation

Augustin (Beginner) drupal.beginner at wechange.org
Thu Nov 8 09:12:05 UTC 2007




Hello,

I am having a look at the documentation for hook_link():
It seems to me that there was a mistake:

http://api.drupal.org/api/function/hook_link/5
http://api.drupal.org/api/function/hook_link

When $type == 'comment' the second argument returns the comment object 
and not NULL (see hook_link() in quote.module, for example). 

I have updated the documentation for D6 accordingly (but not yet for 
D5). It will be visible at api.d.o in a few hours, I guess. 

I hope I have not introduced a bigger mistake.


Blessings,

Augustin.



More information about the development mailing list