You are here

function google_optimize_uninstall in Google Optimize 8

Implements hook_uninstall().

Remove config if module is uninstalled.

File

./google_optimize.install, line 25
Installation file for Google Optimize module.

Code

function google_optimize_uninstall() {
  Drupal::configFactory()
    ->getEditable('google_optimize.settings')
    ->delete();
}