You are here

function recently_read_update_8001 in Recently Read 8

Implements hook_update_N().

File

./recently_read.install, line 11
Defines install operations.

Code

function recently_read_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('recently_read.configuration');
  $config
    ->set('config_delete', [
    'never',
  ]);
  $config
    ->save(TRUE);
}