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. *