Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Modules weight

Security covered Under active development 2,312 sites

This module provides an interface to easily change the order in which modules are loaded on your Drupal site. You can manage module weights through the administrative interface or using Drush commands.

Sometimes we need to modify modules execution order, and some people could write a code that execute the query to modify the weight of a module in the system table, some one might go straight to his favorite SQL client and modify the record directly. This module provides an interface to reorder the modules weight.

Uses

Configuring the module

You can manage the module settings from the Modules Weight Settings page (admin/config/system/modules-weight/configuration). For this you need the Administer Modules Weight permission.

Changing the modules weight

You can select the weight for all the installed and compatible modules according to the module settings from the Modules Weight page (admin/config/system/modules-weight). For this you need the Administer Modules Weight permission.

Drush commands

drush mw-show-system-modules
Configures if we can reorder the core modules.
drush mw-reorder
Configures the module weight.
drush mw-list
Shows the modules weight list.

Recommended modules

Drush Help
Improves the module help page showing information about the module's Drush commands.

Issues

As with all contributed modules, when considering submitting an issue:

  1. Read the documentation (two or three times is better). Don't forget the home page.
  2. Review the existing issues list. (Don't forget to select "<- Any ->" for the "Status" field.)
  3. Gather all the appropriate information. This may include (but is not limited to):
    • Drupal version.
    • Browser type and version.
    • Database type and version.
    • Error messages, if any.
    • Module settings.
  4. Submit the issue. If other modules are involved, you may need to submit the issue to those modules as well.
  5. If you go to provide a patch use the following naming convention:
    [modules_weight]-[short-description]-[issue-number]-[comment-number]-[drupal-version].patch

And please don't forget to use the Issue Summary Template to report an issue, if you need help to understand how the issue queue works, see the Getting Started in the Issue Queue video.

Development version status

The development versions (-dev) are where the newest stuff is, including any bug fixes and new features. We try to make sure it is tested before we commit anything, but occasionally a bug will get from us. Your help on testing this code is greatly appreciated. The translation templates may not always be up-to-date in the dev releases.

Drupal 10–11

Ask your assistant about Modules weight

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
4
Tracked since
Jul 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
3.0.2 Stable 10–11 Jan 23, 2025
3.0.1 Stable 9–10 Mar 5, 2024
3.0.0 Stable 9–10 Jul 11, 2023
3.x-dev Dev 10–11 Jul 11, 2023