[development] strange inconsistency: 'custom_url_rewrite'

Earl Miles merlin at logrus.com
Mon Dec 26 18:03:31 UTC 2005


Bèr Kessels wrote:
> Hi there,
> 
> while writing a tiny module to make these fancy 'web2.0' *cough* urls in the 
> form of tag1+tag2+tag3 I ran across a rather strange issue.
> 
>  custom_url_rewrite  works as expected, but is rather OO unfriendly. I mean, 
> if I define that, Drupal wil FAil to even load if someone adds another module 
> with this, or if a person has this function define in her settings.php.
> 
> Why is this not hook_url_rewrite? Am I missing something? Is it a performance 
> thing? 

Big +1 from me to transitioning URL rewrite to a hook.


More information about the development mailing list