diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-21 02:27:47 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-21 02:27:47 +0000 |
commit | ce19c671106df767202972d22736db3582f6423b (patch) | |
tree | d25953ac2bf8c151c422cec3419273bf259f0f8e /modules/system/system.module | |
parent | 34dbad55c589b8c1f3c3fc1eadfb88d989516695 (diff) | |
download | brdo-ce19c671106df767202972d22736db3582f6423b.tar.gz brdo-ce19c671106df767202972d22736db3582f6423b.tar.bz2 |
#293223 follow-up by David_Rothstein: Roll back 'Hide required core modules'. This was removing useful information to both new and experienced site builders, as well as hiding critical 'help' links.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 338d6ab8c..d8ad21f16 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2263,6 +2263,12 @@ function _system_rebuild_module_data() { // Merge in defaults and save. $modules[$key]->info = $module->info + $defaults; + // Install profiles are hidden by default, unless explicitly specified + // otherwise in the .info file. + if ($key == $profile && !isset($modules[$key]->info['hidden'])) { + $modules[$key]->info['hidden'] = TRUE; + } + // Invoke hook_system_info_alter() to give installed modules a chance to // modify the data in the .info files if necessary. $type = 'module'; |