Drupal is a registered trademark of Dries Buytaert

simple_trash

No security coverage
View on drupal.org

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

  1. 'trash field'
  2. 'access control'
  3. 'restore/permanenet delete operation'

No other complicated function.

Base module: Simple Trash
Submodules:

  1. 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.

Activity

Total releases
1
First release
Jan 2025
Latest release
1 year ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Jan 17, 2025