If you define a content type through features, then add hook_validate to the module that Features creates, it is never called even though a the content type is defined via hook_node_info in the same module. Other custom hooks such as hook_node_presave are successfully called.

Comments

mpotter’s picture

Not sure how Features is supposed to fix this. Sounds like a core bug. Any ideas?

hefox’s picture

Category: bug » support

hook_validate is a faux hook; it depends on 'base' or whatever that key is now (was module in d6?), same as hook_form, etc.