Issue #3363711 by Chris Matthews, Nishant, Shiv_Sharma, smustgrave: Minor hyperlink edit on Appearance page

merge-requests/4280/head
quietone 2023-07-07 20:05:54 +12:00
parent 93a509c695
commit f82720a3cb
No known key found for this signature in database
GPG Key ID: 43BFBBB26EA09FE1
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ function node_form_system_themes_admin_form_alter(&$form, FormStateInterface $fo
$form['admin_theme']['use_admin_theme'] = [ $form['admin_theme']['use_admin_theme'] = [
'#type' => 'checkbox', '#type' => 'checkbox',
'#title' => t('Use the administration theme when editing or creating content'), '#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'), '#default_value' => \Drupal::configFactory()->getEditable('node.settings')->get('use_admin_theme'),
]; ];
$form['#submit'][] = 'node_form_system_themes_admin_form_submit'; $form['#submit'][] = 'node_form_system_themes_admin_form_submit';