You are here

function download_count_uninstall in Download Count 8

Same name and namespace in other branches
  1. 5 download_count.install \download_count_uninstall()
  2. 6.2 download_count.install \download_count_uninstall()
  3. 6 download_count.install \download_count_uninstall()
  4. 7.3 download_count.install \download_count_uninstall()
  5. 7.2 download_count.install \download_count_uninstall()

Implements hook_uninstall().

File

./download_count.install, line 137
Installation code for the download_count module.

Code

function download_count_uninstall() {
  Drupal::service('config.factory')
    ->getEditable('download_count.settings')
    ->delete();
  drupal_set_message(t('The download count module has been uninstalled.'));
}