You are here

function beautytips_uninstall in BeautyTips 8

Same name and namespace in other branches
  1. 6.2 beautytips.install \beautytips_uninstall()
  2. 7.2 beautytips.install \beautytips_uninstall()

Implements hook_uninstall().

File

./beautytips.install, line 28
BeautyTips install/uninstall hooks.

Code

function beautytips_uninstall() {
  \Drupal::configFactory()
    ->getEditable('beautytips.basic')
    ->delete();
  Cache::invalidateTags([
    'beautytips',
  ]);
}