Is anywhere a tutorial on creating a module which will add a few content types at once? If not, can somebody write an example, give some hints or suggest to look at some existing modules for reference?

Comments

nevets’s picture

One can do what you want but from practical experience I think you are better off writing one module per content type and making them dependent (if needed) as it simplifies editing and you gain nothing by placing them all in one module

archatas’s picture

When those content types are very closely bounded that they cannot be used separately, I would rather choose to create them under the same module. For example, taxonomies and terms also don't make sense when used separately.

-----
Aidas Bendoraitis aka Archatas
http://hyperlocal.org