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

Kristjan Jansen kristjan.jansen at gmail.com
Mon Mar 14 23:29:07 UTC 2005

many modules in Drupal tend to name their private functions (eg non-hooks) as

function _mymodule_functionname()

Maybe enforce such a convention? 

This does not need that huge patches inside core (but there are still
many direct non-hook function calls from module to module)


More information about the drupal-devel mailing list