Skip to content
Snippets Groups Projects
Commit 86efdb15 authored by Lily Yan's avatar Lily Yan Committed by Kevin Paxman
Browse files

ISTWCMS-6638 Uninstall layout_builder_modal and install layout_builder_iframe_modal

parent 6b7d1fe1
No related branches found
No related tags found
No related merge requests found
......@@ -2102,3 +2102,23 @@ function uw_sites_all_update_9168(&$sandbox) {
function uw_sites_all_update_9169(&$sandbox) {
\Drupal::service('module_installer')->install(['views_tree']);
}
/**
* Uninstall layout_builder_modal and install layout_builder_iframe_modal.
*/
function uw_sites_all_update_9170(&$sandbox) {
// Uninstall layout_builder_modal.
$modules = [
'layout_builder_modal',
];
\Drupal::service('module_installer')->uninstall($modules);
// Install layout_builder_iframe_modal.
$modules = [
'layout_builder_iframe_modal',
];
\Drupal::service('module_installer')->install($modules);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment