cleaner.services.yml in Cleaner 8.2
Same filename and directory in other branches
File
cleaner.services.ymlView source
- services:
- # Cache clearing subscriber.
- cleaner.cache_clear_subscriber:
- class: Drupal\cleaner\EventSubscriber\CleanerCacheClearEventSubscriber
- tags:
- - { name: 'event_subscriber' }
- arguments:
- - '@database'
- - '@config.factory'
- - '@cache.discovery'
- - '@logger.factory'
- # Additional tables clearing subscriber.
- cleaner.tables_clear_subscriber:
- class: Drupal\cleaner\EventSubscriber\CleanerTablesClearEventSubscriber
- tags:
- - { name: 'event_subscriber' }
- arguments:
- - '@database'
- - '@config.factory'
- - '@logger.factory'
- # MySQL optimization subscriber.
- cleaner.mysql_optimization_subscriber:
- class: Drupal\cleaner\EventSubscriber\CleanerMysqlOptimizeEventSubscriber
- tags:
- - { name: 'event_subscriber' }
- arguments:
- - '@database'
- - '@config.factory'
- - '@logger.factory'
- # Old sessions clearing subscriber.
- cleaner.session_clear_subscriber:
- class: Drupal\cleaner\EventSubscriber\CleanerSessionClearEventSubscriber
- tags:
- - { name: 'event_subscriber' }
- arguments:
- - '@database'
- - '@config.factory'
- - '@logger.factory'
- - '@datetime.time'
- # Watchdog logs clearing subscriber.
- cleaner.watchdog_clear_subscriber:
- class: Drupal\cleaner\EventSubscriber\CleanerWatchdogClearEventSubscriber
- tags:
- - { name: 'event_subscriber' }
- arguments:
- - '@database'
- - '@config.factory'
- - '@logger.factory'