You are here

function livechat_uninstall in LiveChat 8

Same name and namespace in other branches
  1. 8.3 livechat.install \livechat_uninstall()
  2. 8.2 livechat.install \livechat_uninstall()
  3. 7 livechat.install \livechat_uninstall()

Implements hook_uninstall().

File

./livechat.install, line 33
Installation file for the LiveChat module.

Code

function livechat_uninstall() {
  $config_factory = \Drupal::configFactory();
  $config_factory
    ->getEditable('livechat.configuration')
    ->delete();
}