Commit 184cd015 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3646: adding setting to use admin theme when editing content

parent 8d46a717
......@@ -11,4 +11,5 @@
function uw_sites_all_install() {
\Drupal::service('theme_installer')->install(['uw_fdsu_theme_resp']);
\Drupal::service('theme_handler')->setDefault('uw_fdsu_theme_resp');
\Drupal::configFactory()->getEditable('node.settings')->set('use_admin_theme', TRUE)->save(TRUE);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment