entity_recycle
The Entity Recycle module provides a trash / recycle bin functionality for
content entities. This module allows users to soft-delete entities and only users
with the correct permission can permanently delete or restore an entity. This module
may be useful for preventing an accidental delete of an entity. The module creates
a locked boolean field on an entity and if the field is set to TRUE then the entity is
considered to be in the recycle bin. The entity in the recycle bin can only be seen
by users with a 'view entity recycle bin' permission.
FEATURES
------------
- Recycle bin / Trash functionality.
- Soft delete functionality.
- Restore deleted items.
- Purge/Delete items in the recycle bin after a certain amount of time.
REQUIREMENTS
------------
This module requires no modules outside of the Drupal core.
NOTES
------------
By default, this module does not alter any existing views, so in order to
remove recycle bin items from showing up in the view results you need to
add a field filter (recycle_bin) and set the default value to FALSE. For reference
see the Content Recycle Bin view.
For how to do it programmatically see the module README.txt file.