You are here

function node_revision_delete_update_8001 in Node Revision Delete 8

Set the default value for the new variable delete_newer.

File

./node_revision_delete.install, line 11
Install, update and uninstall functions.

Code

function node_revision_delete_update_8001() {
  \Drupal::service('config.factory')
    ->getEditable('node_revision_delete.settings')
    ->set('delete_newer', FALSE)
    ->save();
}