how to enable other module with a module,are there some hooks or code?

Comments

dman’s picture

Yes.
Look at system.module or install.inc examples of the code in use.
Hint: module_e*****

likefei’s picture

thx very much,i will take a good look at it ,glad to know you!