function auditfiles_uninstall in Audit Files 4.x
Same name and namespace in other branches
- 8.3 auditfiles.install \auditfiles_uninstall()
- 8 auditfiles.install \auditfiles_uninstall()
- 8.2 auditfiles.install \auditfiles_uninstall()
- 7.4 auditfiles.install \auditfiles_uninstall()
- 7.3 auditfiles.install \auditfiles_uninstall()
Hook_uninstall().
File
- ./
auditfiles.install, line 11 - This file is used to write install Uninstall hooks that used in the module.
Code
function auditfiles_uninstall() {
\Drupal::configFactory()
->getEditable('auditfiles.settings')
->delete();
}