[development] Turning custom_url_rewrite_* into hooks?
John Morahan
john.morahan at gmail.com
Wed Oct 29 14:20:10 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steven Surowiec wrote:
> I've working on a custom module for a project that makes use of
> custom_url_rewrite to open up linking shortcuts through the url()
> function and I was wondering if there is any specific reason this
> functionality isn't a regular hook? I know I could probably use URL
> aliases for what I'm trying to do but requires me to not have to worry
> about managing hundreds, possibly thousands, of URL aliases just to open
> up this type of functionality. Maybe I'm just mis-using this
> functionality but it seems like it might be worth while to consider.
It isn't possible right now, because those functions may be called
before the module system is initialized. However, see
http://drupal.org/node/320331
- -john
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJCHEawX2/xQt/IP8RAjFpAJ4pPriiLJlaoX6sO80eJrfbAWkAdwCgjAuN
1WbbATqMHOcN9NBJmsMso+A=
=wiIU
-----END PGP SIGNATURE-----
More information about the development
mailing list