Install
Works with Drupal: ^10.3 || ^11Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
43.32 KB
MD5: c99014d186b2e7418799033aeb5ed77a
SHA-1: 332751915a70190852afb09460b84fa7108625a9
SHA-256: 75a11ccd4fa1aa9e3f1de6469479a714c1bcc014015cb723c79d9b7a81332bc1
Download zip
69.79 KB
MD5: 7b1391aa4cfdd1b945ff2e776ab97a52
SHA-1: 8264024cbcf3b78c82cd80d79c2eb3243a6d16bb
SHA-256: 9f0485bd4720d21cfe8491a5b64ef94b5ab8249e38c915a84a22efac34fca398
Release notes
Development snapshot for branch 2.X.X
This is a complete rewrite
- The settings form has been changed to allow generic defaults for the plugin settings, with the option to override the defaults per node type.
- An update hook has been created to migrate any existing settings to the new plugin settings.
- We created 3 plugins to basically support the same functionality as the module already did:
- Keep a minimum amount of revisions
- Keep revisions for a minimum amount of time
- Keep drafts for a minimum amount of time
- We use a queue worker to call all plugins for a node and determine which revisions can be deleted. The revisions are split per language.
- A drush command has been added to add all existing content to the queue and let the queue figure out which revisions can be deleted.
- Content is also added to the queue when a new revision is added.
- Tests are added for the plugins the module ships with.
A lot of code no longer seemed to be necessary has been removed. If you see anything that you think needs to be added back, or appears to be missing just go and create an issue.