function message_subscribe_uninstall in Message Subscribe 8
Same name and namespace in other branches
- 7 message_subscribe.install \message_subscribe_uninstall()
Implements hook_uninstall().
Delete default_notifiers variable from the database.
File
- ./
message_subscribe.install, line 13 - Install, update, and uninstall functions for the message_subscribe module.
Code
function message_subscribe_uninstall() {
\Drupal::configFactory()
->getEditable('message_subscribe.settings')
->clear('default_notifiers')
->save();
\Drupal::configFactory()
->getEditable('message_subscribe.settings')
->clear('flag_prefix')
->save();
\Drupal::configFactory()
->getEditable('message_subscribe.settings')
->clear('use_queue')
->save();
\Drupal::configFactory()
->getEditable('message_subscribe.settings')
->clear('notify_own_actions')
->save();
}