Banned Projects

Categories

Component ID

2239841

Component name

Banned Projects

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module allows you to select a list of module that you don't want to be enabled.

Use case : you host a bunch of sites in an multi-sites installation, you don't have access to the admin web-interface, and you don't want the administrators to be able to enable certains modules.

  1. Enable this module,
  2. set the list of modules in the settings.php,
  3. finished. The module prevent automatically the dependencies modules to be activated.

Example :

$conf['prepared_banned_modules'] = array(
  array('package' => 'Core', 'module_machine_name' => 'toolbar'),
);

WARNING : once enabled, this module can only be removed using drush.