I'm building a module (my_module) in Drupal 7. It has some functionality and also
will create a new content type. In my_module.install, I implemented hook_install()
(my_module_install()
).
Can I use more hook_install()
to create a new content type (my_module_install()
) in this module?
If the answer is yes, how should I do this? Otherwise, should I do this in another module?