You are here

function honeypot_uninstall in Honeypot 8

Same name and namespace in other branches
  1. 6 honeypot.install \honeypot_uninstall()
  2. 7 honeypot.install \honeypot_uninstall()
  3. 2.0.x honeypot.install \honeypot_uninstall()

Implements hook_uninstall().

File

./honeypot.install, line 60
Contains install and update functions for Honeypot.

Code

function honeypot_uninstall() {

  // Clear the bootstrap cache.
  \Drupal::cache('bootstrap')
    ->deleteAll();
  \Drupal::configFactory()
    ->getEditable('honeypot.settings.yml')
    ->delete();
}