Part of #675046: Make sure all hooks in D7 have documentation

This hook is invoked from function module_hook_info() in includes/module.inc

And it should be documented.

CommentFileSizeAuthor
#1 777080.patch1.34 KBjhodgdon

Comments

jhodgdon’s picture

Status: Active » Needs review
StatusFileSize
new1.34 KB

Here's a patch. I'm not quite sure why hook_hook_info_alter() needed to exist, so the example is a bit odd, but... here it is.

aspilicious’s picture

Status: Needs work » Needs review

DELETED COMMENTS

I was wrong, hooks have to be in the imperative form...

aspilicious’s picture

Status: Needs review » Needs work
aspilicious’s picture

After editing #2

blg@bgreenaway.com’s picture

Status: Needs review » Reviewed & tested by the community

All good, syntax OK, test passes, explains use, makes sense, plz commit.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks! :)

Status: Fixed » Closed (fixed)

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