You are here

function styled_google_map_modules_uninstalled in Styled Google Map 8.2

Implements hook_modules_uninstalled().

File

./styled_google_map.module, line 214
Contains all hooks and functions for the Styled Google Map module.

Code

function styled_google_map_modules_uninstalled($modules) {

  // Uninstall demo module when data module is disabled because demo is hidden.
  if (in_array('styled_google_map_data', $modules)) {
    \Drupal::service('module_installer')
      ->uninstall([
      'styled_google_map_demo',
    ]);
  }
}