4 Jan
2007
4 Jan
'07
11:19 p.m.
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.