Is it possible for two modules that interact with one another to both call
- I have a node type that calls
ModuleA_insert()when the user hits the 'save' button.
- Module B is a custom comment-like module that gets injected into a form. In module B, I have a
ModuleB_insert(), but it never runs.
- I am trying to keep module A from having to deal with the inserts/updates from module B.
I can get module B to insert by using
hook_nodeapi(), but it would be easier if I could get
hook_insert() to work, meaning module A and module B's data and actions are separated from each other - not to mention the overhead cost of having
hook_nodeapi() run and check every time.