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.

Vardot

Supporting organizations: 
Sponsored the module development

Project information

Releases