- Issue created by @mrweiner
- πΊπΈUnited States mrweiner
Added additional config and field on the settings form to allow selection of any revisionable entity types on the site.
- πΊπΈUnited States mrweiner
Moving to NR as I cannot really test it due to https://www.drupal.org/project/revision_cleanup/issues/3487627#comment-1... β¨ Optimize for sites with large number of entities. Active . I see some other references to 'nid' so cannot be sure whether this works yet.
- Status changed to Needs work
3 months ago 7:20am 15 April 2025 - π©πͺGermany Anybody Porta Westfalica
See https://git.drupalcode.org/issue/revision_cleanup-3519218/-/blob/3519218...
Until this is implemented for all entity types, the module page should clearly point out, that only nodes are supported so far.
With all entity types that have revision support in core now like Media and Taxonomy terms, revision cleanup may be really important. - πΊπΈUnited States daniel korte Brooklyn, NY
Iβm getting an error with this patch if non-node entities are selected. It seems like revisionIds() is only available in NodeStorageInterface:
Error: Call to undefined method Drupal\Core\Entity\Sql\SqlContentEntityStorage::revisionIds() in /var/www/html/web/modules/contrib/revision_cleanup/src/Services/RevisionCleanupService.php on line 166