Skip to content
Snippets Groups Projects
Commit b04e99ad authored by catch's avatar catch
Browse files

Issue #2651228 by jordanpagewhite, webbykat: Add description beneath 'User the...

Issue #2651228 by jordanpagewhite, webbykat: Add description beneath 'User the administration theme for editing content...' on the admin Appearance page
parent d5a86232
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -832,6 +832,7 @@ function node_form_system_themes_admin_form_alter(&$form, FormStateInterface $fo
$form['admin_theme']['use_admin_theme'] = array(
'#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>.', array(':permissions' => '/admin/people/permissions')),
'#default_value' => \Drupal::configFactory()->getEditable('node.settings')->get('use_admin_theme'),
);
$form['#submit'][] = 'node_form_system_themes_admin_form_submit';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment