sub-modules of a specificed module can be presented one of two ways:
* in the current modules list like a sub-row under the main module that would allow a better view
- store
|- cart
|- payment
|- ...

* the other option would be to have a small set of this list in the configuration of the module.
that is in the main configuration only "store" shows, and when the user go to configuration | modules | store there has a list (like now) but with the option to require a sub-module or not.

Comments

matt westgate’s picture

I think what you're referring to is a way to pragmatically represent dependencies. Myself and the rest of the Drupal community would thoroughly enjoy such a feature for all modules.

magico’s picture

Yes, it are dependencies that was refering too. Some time ago I suggested the inclusion of a "module_system" field with the version of the module, that would allow other modules to check for a specific module version.

Perhaps, it could be added into this "module_system" a comma-separated string with the dependencies modules/versions, making this way a generic validation for required modules. This is easy, but the hard part it's decide who would parse and check this string, maybe the core system? And where would be given error messages when the requirements fails? Every time or only in the administration?

matt westgate’s picture

It looks like this feature will be part of the new Install GUI.