Skip to content

Sites Trash

Scopes the Trash bin to sites: deleted content keeps its sites in the trash and shows on none of them, and site dashboards, the Unassigned content report and a site's delete form leave it out. The Trash tab of the Content overview lists the content of your sites on the hub, with the Sites column and filter, and the site's own content on a site's address. Purging shared content warns that it leaves all its sites, and the Delete choice of a site's delete form deletes the content only that site holds for good, the trash included.

Install

Ships with Sites; with that project in the codebase:

drush en sites_trash

Requires Sites, Sites content, trash (trash).

Configure

The module has no settings of its own. Trash's settings at /admin/config/content/trash decide which entity types and bundles go to the trash (Enabled entity types) and when it purges them. Grant View trash bin and Trash's restore and purge permissions to the roles that need them; the people of the origin site restore and purge (Delete and restore content).

Last updated 2026-10-16

Used in