You are here

function diff_update_8003 in Diff 8

Delete stale theme configuration.

File

./diff.install, line 84
Installation hooks for diff module.

Code

function diff_update_8003() {
  $config = \Drupal::configFactory()
    ->getEditable('diff.settings');
  $config
    ->clear('general_settings.theme');
  $config
    ->save();
}