node_revision_delete.install in Node Revision Delete 8
Same filename and directory in other branches
Install, update and uninstall functions.
File
node_revision_delete.installView 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
Name | Description |
---|---|
node_revision_delete_update_8001 | Set the default value for the new variable delete_newer. |