Skip to content

Commit

Permalink
Add and configure trash module for soft deleteing content
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Dec 16, 2024
1 parent a5c9a10 commit 3657a8c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ module:
token: 0
token_or: 0
toolbar: 0
trash: 0
typed_data: 0
ui_patterns: 0
ui_patterns_ds: 0
Expand Down
7 changes: 7 additions & 0 deletions config/sync/trash.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_core:
default_config_hash: 6RYN2q1x9xeZY4gCN37ZqpEgHrLUQKEscWRd9UovdL0
enabled_entity_types:
node: { }
auto_purge:
enabled: true
after: '30 days'
17 changes: 17 additions & 0 deletions config/sync/ultimate_cron.job.trash_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uuid: e669d5e4-9136-4ade-8b67-12e03ee08043
langcode: en
status: true
dependencies:
module:
- trash
title: 'Default cron handler'
id: trash_cron
weight: 0
module: trash
callback: 'trash#cron'
scheduler:
id: simple
launcher:
id: serial
logger:
id: database

0 comments on commit 3657a8c

Please sign in to comment.