core/modules/menu_ui/src/MenuForm.php | 2 +- core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/menu_ui/src/MenuForm.php b/core/modules/menu_ui/src/MenuForm.php index 8231520..1d3fa89 100644 --- a/core/modules/menu_ui/src/MenuForm.php +++ b/core/modules/menu_ui/src/MenuForm.php @@ -359,7 +359,7 @@ protected function buildOverviewTreeForm($tree, $delta) { $form[$id]['title']['#suffix'] = ' (' . $this->t('disabled') . ')'; } elseif ($id === 'menu_plugin_id:user.login.logout') { - $form[$id]['title']['#markup'] .= ' (' . $this->t('Log in for anonymous users') . ')'; + $form[$id]['title']['#suffix'] = ' (' . $this->t('Log in for anonymous users') . ')'; } elseif (($url = $link->getUrlObject()) && $url->isRouted() && $url->getRouteName() == 'user.page') { $form[$id]['title']['#suffix'] = ' (' . $this->t('logged in users only') . ')'; diff --git a/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php b/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php index 821aed7..b045585 100644 --- a/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php +++ b/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php @@ -75,6 +75,7 @@ function testPageCacheTags() { 'route.menu_active_trails:footer', 'route.menu_active_trails:main', 'route.menu_active_trails:tools', + 'route.name', 'theme', 'timezone', 'user.permissions',