You are here

function diff_update_8008 in Diff 8

Update settings, renamed 'standard' to 'default'.

File

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

Code

function diff_update_8008() {
  $config = \Drupal::configFactory()
    ->getEditable('diff.settings');
  $config
    ->set('general_settings.visual_inline_theme', 'default');
  $config
    ->save();
}