You are here

function honeypot_uninstall in Honeypot 2.0.x

Same name and namespace in other branches
  1. 8 honeypot.install \honeypot_uninstall()
  2. 6 honeypot.install \honeypot_uninstall()
  3. 7 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();
}