From f82720a3cbcaf427ee6dddd527753a24d4c1716f Mon Sep 17 00:00:00 2001
From: quietone <quietone@2572884.no-reply.drupal.org>
Date: Fri, 7 Jul 2023 20:05:54 +1200
Subject: [PATCH] Issue #3363711 by Chris Matthews, Nishant, Shiv_Sharma,
 smustgrave: Minor hyperlink edit on Appearance page

---
 core/modules/node/node.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/node/node.module b/core/modules/node/node.module
index c0472195282d..a937c03e2128 100644
--- a/core/modules/node/node.module
+++ b/core/modules/node/node.module
@@ -790,7 +790,7 @@ function node_form_system_themes_admin_form_alter(&$form, FormStateInterface $fo
   $form['admin_theme']['use_admin_theme'] = [
     '#type' => 'checkbox',
     '#title' => t('Use the administration theme when editing or creating content'),
-    '#description' => t('Control which roles can "View the administration theme" on the <a href=":permissions">Permissions page</a>.', [':permissions' => Url::fromRoute('user.admin_permissions')->toString()]),
+    '#description' => t('Control which roles can "View the administration theme" on the <a href=":permissions">Permissions page</a>.', [':permissions' => Url::fromRoute('user.admin_permissions.module', ['modules' => 'system'])->toString()]),
     '#default_value' => \Drupal::configFactory()->getEditable('node.settings')->get('use_admin_theme'),
   ];
   $form['#submit'][] = 'node_form_system_themes_admin_form_submit';
-- 
GitLab