Enabled modules

Benjamin Melançon - April 9, 2008 - 15:51

The enabled_modules module provides two features that serve two purposes:

  1. List all enabled modules (whether the installed code base is present or not– enabled but absent modules are flagged missing).
  2. [Not yet implemented] Provide a block showing recently enabled modules (with links to the module's administration tasks) and provide a list of recently disabled modules.

The first functionality is useful for moving sites to a whole new code base and rebuilding fresh with only the modules actually in use.

The second functionality is very useful to administrators to provide administration links to the modules they just enabled.

The latter feature is not that easy to do, as there are no hooks that I can find that fire to announce the installing, enabling, disabling, and uninstalling of modules (except to call hooks in the affected module itself). The system table itself saves no timestamp data. I am interested in hearing from anyone working on revision functionality for Drupal administration, so we can share the approach and data. I think it will have to be a form_alter function that provides its own submit handler.

benjamin, Agaric Design Collective

Releases

Official releasesDateSizeLinksStatus
5.x-1.0-beta2008-Apr-238.63 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Apr-159.28 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Apr-198.63 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.