Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you have modules that are hidden (e.g. token_test and views_test) the modules page lists extraneous weights for these at the bottom of the list. Cleaning this up requires two things:
1. Filter them out of module_weights_form_alter
2. Add a check for these in module_weights_system_module_validate so that we don't display an error when hidden modules don't have a numeric weight.
Patch is attached.
Comment | File | Size | Author |
---|---|---|---|
module_weights.module.patch | 1.76 KB | bkat |
Comments
Comment #1
NancyDruCommitted, thanks for the patch.