summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/install.core.inc5
-rw-r--r--includes/install.inc1
2 files changed, 6 insertions, 0 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 443ec8aa4..5e16023b2 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -1111,6 +1111,11 @@ function install_select_profile_form($form, &$form_state, $profile_files) {
include_once DRUPAL_ROOT . '/' . $profile->uri;
$details = install_profile_info($profile->name);
+ // Don't show hidden profiles. This is used by to hide the testing profile,
+ // which only exists to speed up test runs.
+ if ($details['hidden'] === TRUE) {
+ continue;
+ }
$profiles[$profile->name] = $details;
// Determine the name of the profile; default to file name if defined name
diff --git a/includes/install.inc b/includes/install.inc
index 92528d880..e68e272d3 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -1022,6 +1022,7 @@ function install_profile_info($profile, $locale = 'en') {
'description' => '',
'distribution_name' => 'Drupal',
'version' => NULL,
+ 'hidden' => FALSE,
'php' => DRUPAL_MINIMUM_PHP,
);
$info = drupal_parse_info_file("profiles/$profile/$profile.info") + $defaults;