You are here

function search_log_uninstall in Search Log 8

Same name and namespace in other branches
  1. 6 search_log.install \search_log_uninstall()
  2. 7 search_log.install \search_log_uninstall()

Implements hook_uninstall().

File

./search_log.install, line 96
Install file for the Search log module.

Code

function search_log_uninstall() {
  \Drupal::database()
    ->schema()
    ->dropTable('search_log');
  \Drupal::messenger()
    ->addMessage('Search log table and variables removed.', 'status');
}