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
2b313345
Commit
2b313345
authored
Jul 28, 2021
by
Eric Bremner
Committed by
Kevin Paxman
Aug 03, 2021
Browse files
ISTWCMS-4954: adding update hook to uninstall all modules dealing with config sync distro
parent
75f7245b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
uw_sites_all.install
uw_sites_all.install
+21
-0
No files found.
uw_sites_all.install
View file @
2b313345
...
...
@@ -150,3 +150,24 @@ function uw_sites_all_update_8104() {
function
uw_sites_all_update_8105
(
&
$sandbox
)
{
\
Drupal
::
service
(
'module_installer'
)
->
install
([
'quick_node_clone'
]);
}
/**
* Uninstall all modules to do with config sync distro.
*/
function
uw_sites_all_update_8106
()
{
// Modules to uninstall.
$modules
=
[
'config_distro'
,
'config_filter'
,
'config_merge'
,
'config_normalizer'
,
'config_provider'
,
'config_snapshot'
,
'config_sync'
,
'config_translation'
,
'config_update'
,
];
\
Drupal
::
service
(
'module_installer'
)
->
uninstall
(
$modules
);
}
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