recently_read.install in Recently Read 8
Same filename and directory in other branches
Defines install operations.
File
recently_read.installView 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
Name | Description |
---|---|
recently_read_update_8001 | Implements hook_update_N(). |