Commit 2b313345 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-4954: adding update hook to uninstall all modules dealing with config sync distro

parent 75f7245b
......@@ -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);
}
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