You are here

function environment_uninstall in Environment 8

Same name and namespace in other branches
  1. 6 environment.install \environment_uninstall()
  2. 7 environment.install \environment_uninstall()

Implements hook_uninstall().

File

./environment.install, line 21
Handles installation of the Environment module.

Code

function environment_uninstall() {
  \Drupal::config('environment.settings')
    ->clear('environment_override')
    ->save();
  \Drupal::config('environment.settings')
    ->clear('environment_require_override')
    ->save();
}