[drupal-devel] Why is there no designation between hooks and private functions in a module?

Negyesi Karoly karoly at negyesi.net
Mon Mar 14 13:59:14 UTC 2005


On Monday 14 March 2005 14.52, Bèr Kessels wrote:
> Hmm.
> Makes sense to me. But unless you make a patch for this, and you pimp
> that patch, this is off course not going to happen. Talk is silver , code
> is gold.
> Bèr

Bèr is totally right and not forget that we are talking of changing EVERY 
function in Drupal. Some of them are called like 'callback' => 'node_page'. 
So it's gonna be a funny thing to write, and even funnier to test.

And do not forget that you are aiming at a moving target, just look at 
Killes' revision patch. It would be a great thing to reroll your patch 
every few days just to keep it in sync with HEAD.

Maybe writing a replacing script would be better? I do not know and have no 
wish to pursue this.

Regards

Karoly Negyesi



More information about the drupal-devel mailing list