You are here

recently_read.install in Recently Read 8

Defines install operations.

File

recently_read.install
View source
<?php

/**
 * @file
 * Defines install operations.
 */

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

Functions

Namesort descending Description
recently_read_update_8001 Implements hook_update_N().