diff --git a/core/modules/system/system.install b/core/modules/system/system.install index e07f72cc49..6eb8c12005 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -1019,10 +1019,13 @@ function system_requirements($phase) { if ($phase === 'runtime') { $settings = Settings::getAll(); if (array_key_exists('install_profile', $settings)) { + // The following message is only informational because not all site owners + // have access to edit their settings.php as it may be controlled by their + // hosting provider. $requirements['install_profile_in_settings'] = [ 'title' => t('Install profile in settings'), - 'value' => t('Drupal 8 no longer uses the settings.php value and it should be removed.'), - 'severity' => REQUIREMENT_WARNING, + 'value' => t("Drupal 8 no longer uses the \$settings['install_profile'] value in settings.php and it can be removed."), + 'severity' => REQUIREMENT_INFO, ]; } } diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsReadOnlyMismatchProfileTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsReadOnlyMismatchProfileTest.php index 8a733032ca..2b0b35e69f 100644 --- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsReadOnlyMismatchProfileTest.php +++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsReadOnlyMismatchProfileTest.php @@ -104,7 +104,7 @@ public function testInstalled() { $this->assertEquals('testing', \Drupal::installProfile()); $this->assertEquals('minimal', Settings::get('install_profile')); $this->drupalGet('admin/reports/status'); - $this->assertSession()->pageTextContains('The profile minimal in settings.php does not match testing.'); + $this->assertSession()->pageTextContains("Drupal 8 no longer uses the \$settings['install_profile'] value in settings.php and it can be removed."); } }