Skip to content

This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition.

License

Notifications You must be signed in to change notification settings

heimrichhannot/contao-cleaner-bundle

Repository files navigation

Cleaner Bundle

This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition (using poor man's cron or your server's cron).

alt Archive

Cleaner configuration

Install

  1. Install via composer (composer require heimrichhannot/contao-cleaner-bundle) or contao manager
  2. Update your database

Events

Event Class Description
huh.cleaner.event.before_clean BeforeCleanEvent Run before the entity is cleaned. Use setSkipped() to skip the cleaning of the passed in entity.
huh.cleaner.event.after_clean AfterCleanEvent Run after the entity is cleaned.

About

This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages