Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Comment Delete

1,943 sites Security covered
View on drupal.org

This module provides advanced options for deleting comments, including permanently removing them, moving replies to a higher level, or unpublishing them while keeping replies. It also allows administrators to set time limits for deletions and manage granular permissions for different comment types and fields.

Advanced comment deletion rules with threaded replies handler. Adds the hard delete, partial hard delete, and soft delete handlers. Hard delete is the default Drupal core behavior, both the comment and its replies are permanently deleted. Partial hard delete permanently deletes the original comment and moves its replies up one thread level. Soft delete either unpublishes or unsets field values on the original comment and keeps its replies. Use the time limit option to prevent users deleting comments after a configurable amount of time.

Permissions

A number of user role permissions are available both statically and dynamically. Each comment type and field has its own permission sets. In addition to static permission sets that apply across all comment types and fields. See the "Comment Delete" section on the user role permissions administration page.

Usage

  1. Download and install the module. Recommended install method is composer:
    composer require drupal/comment_delete
  2. Go to the "Manage fields" tab of the entity type containing the comment field.
  3. Edit the desired comment field.
  4. Review available configurations under the comment delete section and save changes.
  5. Set comment delete user role permissions.

Upgrading from 1.x to 2.x

An automatic upgrade path is not available between these versions. Recommended to completely uninstall the module before attempting to upgrade to 2.x.

Activity

Total releases
1
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
2.0.10 Stable Dec 10, 2024