diff --git a/uw_ct_service.install b/uw_ct_service.install new file mode 100644 index 0000000000000000000000000000000000000000..4b70489a6029c386de7ec5258714c9a732c77762 --- /dev/null +++ b/uw_ct_service.install @@ -0,0 +1,20 @@ +<?php + + +/** + * @file + * Install, update and uninstall for UW Services. + */ + +/** + * Uninstalls office hours exceptions module. + */ +function uw_ct_service_update_9101(&$sandbox) { + + \Drupal::service('module_installer')->uninstall(['office_hours_exceptions']); + + \Drupal::configFactory() + ->getEditable('core.extension') + ->clear('module.office_hours_exceptions') + ->save(TRUE); +}