function varbase_update_8003 in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.4
Disable display suite switch view mode module.
File
- ./
varbase.install, line 153 - Install, update and uninstall functions for the Varbase installation profile.
Code
function varbase_update_8003() {
if (\Drupal::moduleHandler()
->moduleExists('ds_switch_view_mode')) {
\Drupal::service('module_installer')
->uninstall([
'ds_switch_view_mode',
], FALSE);
}
}