function fac_uninstall in Fast Autocomplete 8
Same name and namespace in other branches
- 7 fac.install \fac_uninstall()
Implements hook_uninstall().
File
- ./
fac.install, line 13 - This file contains the install/update/uninstall functions of the fac module.
Code
function fac_uninstall() {
// Cleanup the json files.
\Drupal::service('file_system')
->deleteRecursive(PublicStream::basePath() . '/fac-json');
// Clean up the state.
\Drupal::state()
->deleteMultiple([
'fac_key',
'fac_key_timestamp',
]);
}