Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_sites_all
Commits
46a24700
Commit
46a24700
authored
Jul 29, 2021
by
Liam Morland
Browse files
ISTWCMS-4957: Remove use of deprecated ThemeHandler::install()
https://www.drupal.org/node/3017233
parent
437243df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
uw_sites_all.install
uw_sites_all.install
+1
-2
No files found.
uw_sites_all.install
View file @
46a24700
...
...
@@ -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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment