Simple Trash
The Simple Trash module provides a basic trash functionality for content entities in Drupal. It allows users to move content to a trash bin, restore it, or permanently delete it through simple access control and operations.
Please use Trash instead
This module exist just because Trash don't have D8 version.
Development Intention:
We need uninstall multiversion from a Drupal8 site, But we still need trash function of it. The Trash didn't have a workable Drupal 8 version.
Noticeļ¼part of code is copied from the Trash
Difference with Trash
Trash add timestamp field for entity. Simple trash add boolen field for entity.
The number of lines of code in Trash is a fraction of the number in Simple trash
Trash's function is rich. But simple trash just has
- 'trash field'
- 'access control'
- 'restore/permanenet delete operation'
No other complicated function.
Base module: Simple Trash
Submodules:
- Simple Trash Node
Use Steps:
1. Enable the module simple_trash_node.
2. Enable the trash function in the edit page of a content type like
/admin/structure/types/manage/article.
3. Add a views page to list the trash entities:
You need add a filter field: trash for true.