[development] Eliminate hooks entirely in Drupal 6

Gerhard Killesreiter gerhard at killesreiter.de
Wed Jan 24 19:03:25 UTC 2007


adrian rossouw wrote:
> 
> On 24 Jan 2007, at 7:49 PM, Michael Favia wrote:
> 
>> I honestly had the same concern as you with regards to landing in a new
>> module and getting your feet wet quickly. With my passing understanding
>> of the proposal there doesnt actually seem to be a reason not to follow
>> a standard naming convention anyway is there?
> 
> If you don't follow the standard naming scheme, you would have to add
> an entry for that hook in your _registry hook. Whereas it could be 
> automatically detected otherwise.
> 
> Meaning by not following the standard you are actually making more work 
> for yourself.
> 

Is there any reason to allow non-standard entries in the first place?

Cheers,
	Gerhard


More information about the development mailing list