SafeDelete
6 sites
Security covered
Drupal 10–11
This module prevents accidental deletion of content by verifying its usage and references, including those from LinkIt, media entities, and managed files. It also offers optional features to report on menu links pointing to archived content and to prevent publishing content without valid anchors.
Safe Delete
- New in 1.0.74 - Vastly improved verification status messages, also added a new optional submodule which provides a report of menu links that link to archived (or other configurable moderation state) nodes of a configurable bundle type for a menu or several menus that are selected in the module settings.
- New in 1.0.46 , add optional publishing verification that ensures linkit is used for anchors, prevents publishing unless anchor is a reference.
- New in 1.0.29 , support verification of bulk delete when used with the latest release of moderated_content_bulk_publish and allow permission to override safe delete and show the delete button for files based on a permission that may be configured.
- This module is built to prevent content atrophy by providing meaningful information about content usage and referenced content.
- This module was originally designed to do validation to prevent deleting content that has referenced links created by linkit.
- New in 1.0.5 now also supporting Managed Files usage verifications.
- New in 1.0.1 now also supporting media entities and validates for usage of ckeditor body field embedded media entities.
- New in 1.0.2 configurable definitions of 'orphaned' content and provide an orphan list page.
- More helpful functionality will follow such as (friendly url and node/123 reference checks to be combined with the other results).
Features
- Admin can limit the number of records to show on node delete form.
- Validation on presave and on node delete confirmation page (safe delete) and validation on node save for archived moderation (safe archive)
- More configuration options to follow
OPTIMAL USAGE:
Recommend using this module with Drupal core >=10.4.8, >= 11.1.8
Depends on
Dependencies of the latest stable release
- linkit Drupal core
- node Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.87 | Stable | 10–11 | Maintenance release | Aug 26, 2026 | |
| 1.0.86 | Stable | 10–11 | Performance and scalability improvement | May 12, 2026 | |
| 1.0.85 | Stable | 10–11 | Support bulk unpublish validation, implement the expected hook. | Mar 27, 2026 | |
| 1.0.84 | Stable | 10–11 | Regression fix for safemenus validation | Mar 9, 2026 | |
| 1.0.83 | Stable | 10–11 | Maintenance release | Mar 4, 2026 | |
| 1.0.82 | Stable | 10–11 | New menu validation and improve validation messaging | Mar 4, 2026 | |
| 1.0.81 | Stable | 10–11 | Maintenance release | Feb 17, 2026 | |
| 1.0.80 | Stable | 10–11 | Maintenance release | Jan 28, 2026 | |
| 1.0.79 | Stable | 10–11 | Bugfix for HTMLPurifier, add missing img.src config. | Jan 19, 2026 | |
| 1.0.78 | Stable | 10–11 | Added optional menu processing for child dependency check on archive/delete | Jan 15, 2026 | |
| 1.0.77 | Stable | 10–11 | Maintenance release | Dec 10, 2025 | |
| 1.0.76 | Stable | 10–11 | Maintenance release | Nov 21, 2025 | |
| 1.0.75 | Stable | 10–11 | Performance improvement for the ReportService (utilise cache). | Sep 12, 2025 | |
| 1.0.74 | Stable | 10–11 | Bug fixes | Sep 12, 2025 | |
| 1.0.73 | Stable | 10–11 | Improve safedelete menu report performance. | Sep 11, 2025 | |
| 1.0.72 | Stable | 10–11 | Maintenance release | Sep 11, 2025 | |
| 1.0.71 | Stable | 10–11 | Improve the safedelete_menu_report | Sep 10, 2025 | |
| 1.0.70 | Stable | 10–11 | Improvements to safedelete_menu_report handling of permissions. | Sep 8, 2025 | |
| 1.0.69 | Stable | 10–11 | Maintenance release | Sep 3, 2025 | |
| 1.0.68 | Stable | 10–11 | New submodule added safedelete_menu_report | Aug 27, 2025 | |
| 1.0.67 | Stable | 10–11 | Maintenance release | Aug 22, 2025 | |
| 1.0.66 | Stable | 10–11 | Maintenance release | Aug 22, 2025 | |
| 1.0.65 | Stable | 10–11 | Maintenance release | Aug 22, 2025 | |
| 1.0.64 | Stable | 10–11 | Maintenance release | Aug 22, 2025 | |
| 1.0.63 | Stable | 10–11 | Bug fix release | Feb 11, 2025 | |
| 1.0.62 | Stable | 10–11 | Maintenance release | Feb 5, 2025 | |
| 1.0.61 | Stable | 10–11 | Maintenance release | Jan 31, 2025 | |
| 1.0.60 | Stable | 10–11 | Improved handling of sites that use a path prefix (handle base path correctly). | Jan 24, 2025 | |
| 1.0.59 | Stable | 10–11 | Maintenance release | Jan 3, 2025 |