Node Revision Limit

The module allow to choose the number of revisions to keep to nodes.
Once set, revision deletions will occur on each node update to keep that number limit, independently for each language activated.
The module is compatible with the usage of Content Translation and Content Moderation

Context

This lightweight module has been developped because the Node Revision Delete module do not work properly on multilingual sites.
https://www.drupal.org/project/node_revision_delete/issues/3262899

How to use

- Enable the module.
- Go to /admin/config/content/node_revision_limit.
- For each enabled language, set the number of revisions to keep (default: 3).
- Revisions are pruned automatically the next time the node is updated.

Project information

Releases