[development] hook_nodeapi()

Yves CHEDEMOIS yched.drupal at free.fr
Thu Jan 4 22:19:57 UTC 2007

Rob Barreca a ecrit le 04/01/2007 02:34:
> In content module you have all the content_insert, content_load, 
> content_*, so it looks like content.module owns those types and defines 
> those node hooks (and funky load callbacks). :-)

This was true in 4.7, where content.module did have the ownership of the 
content type.
In 5.0, CCK does not define any content type, but "just" extends 
existing content types owned by other modules (node.module, 
audio.module, whatever...). So now it does its stuff through hook_nodeapi.

More information about the development mailing list