This module provides a "soft delete" feature for content, allowing editors to move items to a trash bin before permanent deletion. This enables content recovery and can be configured to automatically purge items after a set period.
While this was in development we discovered the Trash module had a new 3.x branch being planned and we decided to join forces there! Please check it out.
Sometimes your editors shouldn't be able to delete content from the site. Other times you want to be able to have some time to recover content that you accidentally deleted.
Trashcan allows you to grant users the ability to soft delete content before it is actually deleted from your site.
Features
- Supports nodes and media
- Automatic purge after 30 days
- Integration with Linkit
- Integration with Content Moderation
Post-Installation
Configure which entity types can be moved to the trashbin.
Assign module permissions.
Additional Requirements
None.
Recommended modules/libraries
Integrates with Linkit, Content Moderation, Entity Usage, but doesn't require any of them.
- Trash module: This module was born because content_moderation was a requirement for trash 2.x. This is not an issue anymore in Trash 3.x
- Soft delete
Ask your assistant about Trashcan
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 9–11 | Oct 11, 2023 |