function openlayers_ui_uninstall in Openlayers 7.2
Same name and namespace in other branches
- 6.2 modules/openlayers_ui/openlayers_ui.install \openlayers_ui_uninstall()
Implementation of hook_uninstall().
File
- modules/
openlayers_ui/ openlayers_ui.install, line 14 - This file holds the functions for the installing and enabling of the openlayers_ui module.
Code
function openlayers_ui_uninstall() {
// Get module variables
global $conf;
foreach (array_keys($conf) as $key) {
// Find variables that have the module prefix
if (strpos($key, 'openlayers_ui_') === 0) {
variable_del($key);
}
}
}