Commit 46a24700 authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-4957: Remove use of deprecated ThemeHandler::install()

https://www.drupal.org/node/3017233
parent 437243df
......@@ -27,8 +27,7 @@ function uw_sites_all_install() {
}
// Make sure the theme is installed.
$theme_handler = \Drupal::service('theme_handler');
$theme_handler->install(['uw_theme_admin']);
\Drupal::service('theme_installer')->install(['uw_theme_admin']);
// Set it as the admin theme.
$config = \Drupal::service('config.factory')->getEditable('system.theme');
......
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