From ec97eb465a9ec81c991c5fde3dc9ef3e8674ea12 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Wed, 26 Aug 2015 15:25:53 -0700 Subject: [PATCH] Fixes #17: Pre-select the 'standard' installation profile. --- sites/default/settings.pantheon.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sites/default/settings.pantheon.php b/sites/default/settings.pantheon.php index eb7d433c3..d4ae35b08 100644 --- a/sites/default/settings.pantheon.php +++ b/sites/default/settings.pantheon.php @@ -37,6 +37,18 @@ if (isset($_ENV['PANTHEON_ENVIRONMENT'])) { $GLOBALS['install_state']['settings_verified'] = TRUE; } +/** + * Pre-select the 'standard' installation profile. Drupal complains if we + * do not do this, and operational problems result. + * + * https://github.com/pantheon-systems/drops-8/issues/17 + */ +if (isset($_ENV['PANTHEON_ENVIRONMENT'])) { + // Pre-select the standard profile + $GLOBALS['install_state']['profile_info']['distribution']['name'] = 'standard'; + $GLOBALS['install_state']['parameters']['profile'] = 'standard'; +} + /** * Allow Drupal 8 to Cleanly Redirect to Install.php For New Sites. *