Issue Bug Closed

#22521Hooks are not complete and could be better

Patrick Broens 04/27/10, 08:46 updated 07/02/10, 11:16

Description

Problem:
Current hook implementation forces us to use a method “execute()”, meaning one cannot implement multiple hooks without relying on multiple user classes. This is not great.

In addition, a hook is missing when writing information to localconf.php. It is possible to hook into stepoutput but not to add specific code to localconf.php (typically with DBAL), meaning the hook into steps is not as usable as it should be.

Solution:
- Rename method in hooks to be more specific (what I did with associated patch)
or
- Let user choose his own method name (could be even better)

(issue imported from #M14214)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.