That kind of stuff is ugly and should go.
The code to invoke the refresh functionality looks like this:

module_implements('', FALSE, TRUE);
Pretty, isn't it?
CommentFileSizeAuthor
#2 577950-cleanup-hook_implements.patch7.48 KBmarcingy

Comments

franz’s picture

Version: 7.x-dev » 8.x-dev
marcingy’s picture

Assigned: CorniI » Unassigned
Status: Active » Needs review
StatusFileSize
new7.48 KB

First stab at a patch, removes the 'magic' third parameter and introduces a new module_implements_reset function.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Nice clean-up.

dries’s picture

I like this clean-up as well. This may become a pattern?

I'll commit this in the next day or so.

marcingy’s picture

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. As I wrote earlier; nice cleanup.

Status: Fixed » Closed (fixed)

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