Problem/Motivation
Drupal 8 removes the concept of enabled/disabled modules. Instead, a module is uninstalled on the admin form at admin/modules/uninstall. Currently we're not altering that form, so hidden modules (like paranoia itself) can be uninstalled.
Proposed resolution
The system_modules_uninstall form does not consult the hidden attribute of extensions, so #2894994: Hide modules via hook_system_info_alter() won't help here.
Instead we need to alter the system_modules_uninstall form to remove hidden modules.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | paranoia-uninstall-2898016-2.patch | 1.05 KB | nedjo |
Comments
Comment #2
nedjoHere's a patch. Postponed pending #2894994: Hide modules via hook_system_info_alter(), which changes the structure of the data returned by
hook_paranoia_hide_modules().Comment #4
nedjo