[development] Eliminate hooks entirely in Drupal 6

Earl Miles merlin at logrus.com
Wed Jan 24 01:09:01 UTC 2007


Khalid B wrote:
> - I am torn about the .register file though. Why? Because we are moving 
> towards too
> many files already (first .install, then .info, then .register, then 
> .foo, ad nauseum).
> Perhaps this is overcome by one hook only modulename_register() or
> modulename_callbacks().

See Karoly's response. I think that combined with some kind of special registry 
hook is probably better than a .register file.

And it easily incorporates his before/after bits, which are brilliant and I had 
forgotten about them.



More information about the development mailing list