function fancy_file_delete_uninstall in Fancy File Delete 8
Same name and namespace in other branches
- 7 fancy_file_delete.install \fancy_file_delete_uninstall()
- 2.0.x fancy_file_delete.install \fancy_file_delete_uninstall()
Implements hook_uninstall().
File
- ./
fancy_file_delete.install, line 11 - Install File for Fancy File Delete.
Code
function fancy_file_delete_uninstall() {
$schema = \Drupal::database()
->schema();
if ($schema
->tableExists('unmanaged_files')) {
$schema
->dropTable('unmanaged_files');
}
}