You are here

function auditfiles_uninstall in Audit Files 8.2

Same name and namespace in other branches
  1. 8.3 auditfiles.install \auditfiles_uninstall()
  2. 8 auditfiles.install \auditfiles_uninstall()
  3. 7.4 auditfiles.install \auditfiles_uninstall()
  4. 7.3 auditfiles.install \auditfiles_uninstall()
  5. 4.x auditfiles.install \auditfiles_uninstall()

Hook_uninstall().

File

./auditfiles.install, line 13
This file is used to write install Uninstall hooks that used in the module.

Code

function auditfiles_uninstall() {
  \Drupal::configFactory()
    ->getEditable('auditfiles.settings')
    ->delete();
}