diff --git a/core/lib/Drupal/Core/Form/ConfigFormBaseTrait.php b/core/lib/Drupal/Core/Form/ConfigFormBaseTrait.php index 24d31af..3cabd9b 100644 --- a/core/lib/Drupal/Core/Form/ConfigFormBaseTrait.php +++ b/core/lib/Drupal/Core/Form/ConfigFormBaseTrait.php @@ -58,7 +58,7 @@ protected function config($name) { // Show a message if this config was overridden in settings.php. if (isset($GLOBALS['config'][$name])) { - drupal_set_message(t('This form may include elements whose values are overridden. Editing those values will save changes but will only be used if the overrides do not apply.'), 'warning'); + drupal_set_message(t('This form may include elements whose values are overridden using settings.php. Editing those values will save changes but will only be used if the overrides do not apply.'), 'warning'); } } else { diff --git a/core/modules/config/src/Tests/ConfigFormOverrideTest.php b/core/modules/config/src/Tests/ConfigFormOverrideTest.php index bbb8de9..e618403 100644 --- a/core/modules/config/src/Tests/ConfigFormOverrideTest.php +++ b/core/modules/config/src/Tests/ConfigFormOverrideTest.php @@ -25,7 +25,7 @@ public function testFormsWithOverrides() { // Ensure warning is not present if no overrides exist. $this->drupalGet('admin/config/system/site-information'); - $this->assertNoText('This form may include elements whose values are overridden. Editing those values will save changes but will only be used if the overrides do not apply.'); + $this->assertNoText('This form may include elements whose values are overridden using settings.php. Editing those values will save changes but will only be used if the overrides do not apply.'); $overridden_name = 'Site name global conf override'; @@ -44,7 +44,7 @@ public function testFormsWithOverrides() { $this->assertIdentical((string) $elements[0]['value'], 'Drupal'); // Ensure the warning is displayed. - $this->assertText('This form may include elements whose values are overridden. Editing those values will save changes but will only be used if the overrides do not apply.'); + $this->assertText('This form may include elements whose values are overridden using settings.php. Editing those values will save changes but will only be used if the overrides do not apply.'); // Submit the form and ensure the site name is not changed. $edit = array(