function tablesort_example_uninstall
Same name in other branches
- 3.x modules/tablesort_example/tablesort_example.install \tablesort_example_uninstall()
- 7.x-1.x tablesort_example/tablesort_example.install \tablesort_example_uninstall()
Implements hook_uninstall().
It's good to clean up after ourselves.
Related topics
File
-
modules/
tablesort_example/ tablesort_example.install, line 43
Code
function tablesort_example_uninstall() {
$db_connection = \Drupal::database();
$db_connection->schema()
->dropTable('tablesort_example');
}