You are here

function background_batch_uninstall in Background Process 8

Same name and namespace in other branches
  1. 6 background_batch/background_batch.install \background_batch_uninstall()
  2. 7.2 background_batch/background_batch.install \background_batch_uninstall()
  3. 7 background_batch/background_batch.install \background_batch_uninstall()

Implements hook_uninstall().

File

background_batch/background_batch.install, line 11
This is the installation file for the Background Batch submodule.

Code

function background_batch_uninstall() {
  $config = \Drupal::getContainer()
    ->get('config.factory')
    ->getEditable('background_batch.settings');
  $config
    ->delete();
}