Features Disable Modules

Component ID

2265801

Component name

Features Disable Modules

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Description

Features Disable Modules extends Features to ensure automated disabling of unnecessary or conflicting modules.
This module aims to help you if you want to find an automated way of disabling a list of modules.

Usage

You will be able to export a new set of components called 'Disable Modules' on the Features' Create/Recreate module page.

  1. Create a new feature module and select modules you want to disable and click download. You can not select required or hidden modules and modules required by another module.
  2. Copy the newly created feature module into sites/all/modules or any equivalent folder.
  3. Enable the newly created module. Selected modules will be disabled immediately or at least at the next cache clear or feature revert.

Notices

You won't be able to enable selected modules until you had removed it from the controlling module's list of disabled modules.

You will get an error if you try to enable selected modules.

Another way to enable exported modules is disabling the feature module what doesn't let them to be enabled.

Installation

As usual

Examples

  1. You can disable the Views UI and module on the production site.
  2. You can create a feature which controlles the state of other modules using dependencies to enable necessary and disable_modules to disable unnecessary modules. You can call such a module as MyProject Modules.

The development is sponsored by Penceo