That kind of stuff is ugly and should go.
The code to invoke the refresh functionality looks like this:
Pretty, isn't it?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 577950-cleanup-hook_implements.patch | 7.48 KB | marcingy |
That kind of stuff is ugly and should go.
The code to invoke the refresh functionality looks like this:
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 577950-cleanup-hook_implements.patch | 7.48 KB | marcingy |
Comments
Comment #1
franzComment #2
marcingy commentedFirst stab at a patch, removes the 'magic' third parameter and introduces a new module_implements_reset function.
Comment #3
catchNice clean-up.
Comment #4
dries commentedI like this clean-up as well. This may become a pattern?
I'll commit this in the next day or so.
Comment #5
marcingy commentedBuilding on this pattern here #1288364: Clean up reset patterns in field.info.inc
Comment #6
dries commentedCommitted to 8.x. As I wrote earlier; nice cleanup.