You are here

function diff_update_8002 in Diff 8

Update diff.settings to include general_settings.revision_pager_limit.

File

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

Code

function diff_update_8002() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('diff.settings');
  $config
    ->set('general_settings.revision_pager_limit', 50);
  $config
    ->save(TRUE);
}