Temporary Storage Killer
19 sites
Security covered
This module helps manage and clean up temporary storage data in Drupal. It provides Drush commands and an optional administration interface to view, target, and delete temporary storage items, with options for automation and granular control.
The module enables to manage and clean up temporary storage data.
Key Features
Core TSK Module
- Drush Commands: Precise command-line control over temporary storage cleanup
- Flexible Targeting: Support for both private and shared temporary storage types
- Granular Control: Target specific collections and keys or perform bulk operations
- Safe Operations: Built-in validation and error handling
TSK Admin Module (Optional)
- Web Interface: User-friendly administration interface
- Visual Overview: Browse all temporary storage collections and their contents
- One-Click Operations: Point-and-click deletion of storage items
- Configuration Entities: Set up automated cleanup rules
Usage Examples
Command Line (Drush)
# Clean up specific temporary storage collection drush temp-store-killer private email_tfa # Remove layout builder temporary data drush tsk shared layout_builder.section_storage.overrides # Execute all configured cleanup operations drush temp-store-killer:all
Web Interface
- Navigate to Administration → Reports → Temporary storage collections
- Browse collections and delete items individually
- Configure automated cleanup rules at Administration → Configuration → Development → Temporary Storage Killer
Installation
composer require drupal/tsk drush en tsk # Optionally enable admin interface drush en tsk_admin