You are here

function ip_language_negotiation_uninstall in IP Language Negotiation 8

Same name and namespace in other branches
  1. 7 ip_language_negotiation.install \ip_language_negotiation_uninstall()

Implements hook_uninstall().

File

./ip_language_negotiation.install, line 52
Install/uninstall and update functions.

Code

function ip_language_negotiation_uninstall() {
  $config = \Drupal::configFactory()
    ->getEditable('ip_language_negotiation.settings');
  $config
    ->clear('ip_language_negotiation_countries');
  $config
    ->save();
}