- Issue created by @alexpott
- π¬π§United Kingdom alexpott πͺπΊπ
It also has a dependency on the content_moderation module as it does
$revision_state = $revision->get('moderation_state')->getString();
but it does not check whether such a field exists or if content moderation is enabled.What I think the plugin actually does is delete draft revisions older than the active revision - i.e. old revisions that have never been published.
I'm not sure this module should be supplying a plugin for that case -especially one that says
After this time, draft revisions newer than the active revision can be deleted. The minimum age of revisions is always respected, regardless of other settings. Only draft revisions created after the active revision will be deleted.
when it actually does something completely different. - π¬π§United Kingdom alexpott πͺπΊπ
Okay looking at β¨ Add content moderation support, for preserving "published" state revisions Fixed it seems there is a use-case but the implementation leaves a bit to be desired. Let's fix it.
- π¬π§United Kingdom alexpott πͺπΊπ
alexpott β changed the visibility of the branch 3541101-only-drafts-plugin to hidden.