function background_process_uninstall in Background Process 8
Same name and namespace in other branches
- 6 background_process.install \background_process_uninstall()
- 7.2 background_process.install \background_process_uninstall()
- 7 background_process.install \background_process_uninstall()
Implements hook_uninstall().
File
- ./background_process.install, line 76 
- This is the installation file for the Background Process module.
Code
function background_process_uninstall() {
  // Removing process variables.
  $config = \Drupal::getContainer()
    ->get('config.factory')
    ->getEditable('background_process.settings');
  $config
    ->delete();
}