summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Hojtsy2018-02-16 12:54:10 (GMT)
committerGabor Hojtsy2018-02-16 12:54:10 (GMT)
commitd1a04fb7d78346edd44c8297b2b4cc0e19eb6c43 (patch)
treee4df13771c7daf17b235b7030634929ea3bd4c7f
parent554e251d876fe2862bb6e10cb03fda9f201ddd96 (diff)
Issue #2938800 by markconroy, David_Rothstein, ckrina, smaz, Eli-T, cehfisher, larowlan: Finalize wording for Toolbar warning message
-rw-r--r--core/profiles/demo_umami/demo_umami.profile2
-rw-r--r--core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php10
2 files changed, 6 insertions, 6 deletions
diff --git a/core/profiles/demo_umami/demo_umami.profile b/core/profiles/demo_umami/demo_umami.profile
index cdbfe49..97ae45d 100644
--- a/core/profiles/demo_umami/demo_umami.profile
+++ b/core/profiles/demo_umami/demo_umami.profile
@@ -46,7 +46,7 @@ function demo_umami_toolbar() {
$items['experimental-profile-warning']['#type'] = 'toolbar_item';
$items['experimental-profile-warning']['tab'] = [
'#type' => 'inline_template',
- '#template' => '<a class="toolbar-warning" href="{{ more_info_link }}">This installation is for demonstration purposes only.</a>',
+ '#template' => '<a class="toolbar-warning" href="{{ more_info_link }}">This site is intended for demonstration purposes.</a>',
'#context' => [
'more_info_link' => 'https://www.drupal.org/node/2941833',
],
diff --git a/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php b/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
index ef4ffe8..bfa1de2 100644
--- a/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
+++ b/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
@@ -140,27 +140,27 @@ class DemoUmamiProfileTest extends BrowserTestBase {
// Check when editing a node, the warning is visible.
$this->drupalGet($recipe_node->toUrl('edit-form'));
$web_assert->statusCodeEquals('200');
- $web_assert->pageTextContains('This installation is for demonstration purposes only.');
+ $web_assert->pageTextContains('This site is intended for demonstration purposes.');
// Check when adding a node, the warning is visible.
$this->drupalGet('node/add/recipe');
$web_assert->statusCodeEquals('200');
- $web_assert->pageTextContains('This installation is for demonstration purposes only.');
+ $web_assert->pageTextContains('This site is intended for demonstration purposes.');
// Check when looking at admin/content, the warning is visible.
$this->drupalGet('admin/content');
$web_assert->statusCodeEquals('200');
- $web_assert->pageTextContains('This installation is for demonstration purposes only.');
+ $web_assert->pageTextContains('This site is intended for demonstration purposes.');
// Check when viewing a node, the warning is not visible.
$this->drupalGet($recipe_node->toUrl());
$web_assert->statusCodeEquals('200');
- $web_assert->pageTextNotContains('This installation is for demonstration purposes only.');
+ $web_assert->pageTextNotContains('This site is intended for demonstration purposes.');
// Check when viewing the homepage, the warning is not visible.
$this->drupalGet('<front>');
$web_assert->statusCodeEquals('200');
- $web_assert->pageTextNotContains('This installation is for demonstration purposes only.');
+ $web_assert->pageTextNotContains('This site is intended for demonstration purposes.');
}
/**