Commit 0cb9a665 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-3915 Install uw_theme_admin and Set it as default

parent c0c4076e
......@@ -23,6 +23,14 @@ function uw_sites_all_install() {
// Make sure the theme is installed
$theme_handler = \Drupal::service('theme_handler');
// Set it as the admin theme
$config = \Drupal::service('config.factory')->getEditable('system.theme');
$config->set('admin', 'uw_theme_admin')->save();
Supports Markdown
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