You are here

function diff_update_8009 in Diff 8

Remove content type settings.

File

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

Code

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