You are here

function simplified_modules_hidden_submodules in Simplified Modules 7

Returns modules that are auto-enabled when all their dependencies are met.

These modules are typically part of a package that contains many submodules, but on certain sites we just want to have one choice, with the submodules turned on automatically whenever they are able to be.

Return value

An array of module names.

3 calls to simplified_modules_hidden_submodules()
simplified_modules_system_info_alter in ./simplified_modules.module
Implements hook_system_info_alter().
simplified_modules_system_modules_submit in ./simplified_modules.module
Custom submit handler for the system_modules() admin page.
simplified_modules_update_projects_alter in ./simplified_modules.module
Implements hook_update_projects_alter().

File

./simplified_modules.module, line 171
Simplifies the modules page by allowing related modules to be grouped under a single checkbox.

Code

function simplified_modules_hidden_submodules() {
  $modules = module_invoke_all('simplified_modules_hidden_submodules');
  drupal_alter('simplified_modules_hidden_submodules', $modules);
  return $modules;
}