4

I am running a D7 site with 164 enabled modules. I need to create a module dependency graph so that I can get a better understanding of the module dependencies and find out which modules are critical.

I have checked out https://drupal.org/project/drush_mm but the page says it is obsolete and not present for D7.

Any alternatives?

3 Answers 3

5

There is the sandbox drush module dependency_analysis

It provides a drush command that produces a dependency graph using graphviz. For me, I found that it was a simple matter of installing graphviz using homebrew:

$ brew install graphviz

And then follow the project page description.

2

You are looking for Module Filter, it quickly find the module you are looking for and with filter option and category.

The modules list page can become quite big when dealing with a fairly large site or even just a dev site meant for testing new and various modules being considered. What this module aims to accomplish is the ability to quickly find the module you are looking for without having to rely on the browsers search feature which more times than not shows you the module name in the 'Required by' or 'Depends on' sections of the various modules or even some other location on the page like a menu item.

Take a look at Enabled Modules (enabled_modules) module provides lists of all enabled modules on a website.

These features are useful for moving sites to a whole new code base and rebuilding fresh with only the modules actually in use, or doing clean up on your modules folders.

and also Views System module extends the Views module and allows to create customized lists (pages, blocks) of modules, themes, and theme engines that are or have been installed in Drupal's file system.

Using Drush check this List of all active modules used in a site.

2
  • Bala I am not looking for filtering or finding the installed/enabled modules. I am looking for the module dependency chart within my site :)
    – Gokul N K
    Nov 19, 2013 at 11:05
  • 1
    @GokulNK I searched completely, no modules present to list the dependencies and small info using drush drupaltonight.com/drupal-articles/…
    – Bala
    Nov 19, 2013 at 11:42
0

Graph API can do this. After installation, it shows you the Module dependencies at /admin/modules/graph.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.