[development] hook_nodeapi()

Fernando Silva fsilva.pt at gmail.com
Tue Jan 2 16:14:56 UTC 2007


Hi,

In the following page
http://api.drupal.org/api/HEAD/function/hook_nodeapi it says: "If you
are writing a node module, do not use this hook to perform actions on
your type of node alone. Instead, use the hooks set aside for node
modules, such as hook_insert() and hook_form()."

My question is why is it better to use the standalone functions
instead of the centralized one?

Regards,
  Fernando Silva


More information about the development mailing list