You are here

node_revision_delete.install in Node Revision Delete 8

Install, update and uninstall functions.

File

node_revision_delete.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions.
 */

/**
 * Set the default value for the new variable delete_newer.
 */
function node_revision_delete_update_8001() {
  \Drupal::service('config.factory')
    ->getEditable('node_revision_delete.settings')
    ->set('delete_newer', FALSE)
    ->save();
}

Functions

Namesort descending Description
node_revision_delete_update_8001 Set the default value for the new variable delete_newer.