function ip_geoloc_uninstall in IP Geolocation Views & Maps 8
Same name and namespace in other branches
- 7 ip_geoloc.install \ip_geoloc_uninstall()
Implements hook_uninstall().
File
- ./
ip_geoloc.install, line 81 - Install and uninstall hooks for IP Geolocation Views & Maps.
Code
function ip_geoloc_uninstall() {
// Delete all ip_geoloc_* variables at once.
$connection = \Drupal::database();
$connection
->delete('config')
->condition('name', 'ip_geoloc_%%', 'LIKE')
->execute();
}