You are here

function visitors_uninstall in Visitors 8.2

Same name and namespace in other branches
  1. 8 visitors.install \visitors_uninstall()
  2. 7.2 visitors.install \visitors_uninstall()
  3. 7 visitors.install \visitors_uninstall()
  4. 7.0 visitors.install \visitors_uninstall()

Uninstall the module with database table and module settings.

File

./visitors.install, line 35
Install/uninstall visitors module.

Code

function visitors_uninstall() {
  drupal_uninstall_schema('visitors');
  \Drupal::configFactory()
    ->getEditable('visitors.config')
    ->delete();
}