Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Module Weight Analyst

2 sites No security coverage Drupal 10–11
View on drupal.org

This module helps you manage the order in which Drupal modules load to prevent conflicts and improve stability. It provides a visual dashboard to audit module dependencies and uses a "health score" to identify potential issues, allowing you to adjust module weights and ensure a stable execution sequence.

The Module Weight Analyst provides a visual diagnostic suite to audit and optimize Drupal's module load order. It prevents execution conflicts and ensures system stability.

This module solves the common "black box" problem of module execution order. In Drupal, a module's "weight" determines when its hooks and services are processed. If security or routing modules fire in the wrong sequence, it can lead to silent failures or performance bottlenecks. This tool transforms weight management from a guessing game into a data-driven process, empowering site builders to resolve complex dependency conflicts through a modern, interactive dashboard.

Features

  • Integrity Dashboard: A centralized command center featuring a visual "Health Score" based on recursive dependency sequence validation.
  • Dependency Auditing: Automatically flags "Early-load" risks where child modules are configured to execute before their parent dependencies.
  • Conflict Prevention Logic: Built-in safeguards that prevent saving configurations known to cause circular dependencies or service container breaks.
  • Strategic Filtering: Advanced UI controls to isolate modules by Origin (Core, Contrib, Custom), Execution Phase, or Conflict Status.

Installation

Install as you would any contributed Drupal module. See Installing Drupal Modules.

composer require drupal/module_weight_analyst

Enable the module using Drush:

drush en module_weight_analyst

Post-Installation

After installation, access the Analyst suite to begin auditing your site's execution stack:

  1. Navigate to Configuration » Development » Module Weight Analyst.
  2. Review the Sequence Integrity card for any modules flagged with conflicts.
  3. Modify weight values directly in the interactive table. Lower numbers (negative) run earlier; higher numbers run later.
  4. Check the "Audit" column for a ✔ Valid Sequence badge before proceeding.
  5. Click Apply Weights to commit changes to your site configuration.

Warning: Adjusting module weights alters core security and routing layers. Always perform weight adjustments on a local or staging environment before deploying to production.

Additional Requirements

This module requires PHP 8.1+ and Drupal Core 10 or 11. No external libraries are required.

Similar projects

  • Modules Weight: A utility module for basic weight updates via a simple list.
  • Module Weight Analyst differentiates itself by providing a full diagnostic ecosystem, including health scoring, dependency conflict detection, and an enterprise-grade administrative interface.

Supporting this Module

If you find this module useful, please consider reporting bugs or submitting feature requests in the issue queue. Your feedback helps ensure the health of the Drupal ecosystem!

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Feb 7, 2026
1.0.x-dev Dev 10–11 Feb 7, 2026