Perform periodic fixity checks on selected files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.0 KiB

services:
logger.channel.dgi_fixity:
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
arguments: ['dgi_fixity']
dgi_fixity.fixity_check:
class: Drupal\dgi_fixity\FixityCheckService
arguments: ['@string_translation', '@config.factory', '@entity_type.manager', '@datetime.time', '@plugin.manager.mail', '@logger.channel.dgi_fixity', '@filehash']
dgi_fixity.route_subscriber:
class: Drupal\dgi_fixity\Routing\FixityCheckRouteSubscriber
arguments: ['@entity_type.manager', '@dgi_fixity.fixity_check']
tags:
- { name: event_subscriber }
dgi_fixity.paramconverter.fixity:
class: Drupal\dgi_fixity\Routing\FixityCheckConverter
arguments: ['@entity_type.manager', '@entity.repository', '@dgi_fixity.fixity_check']
tags:
- { name: paramconverter }
access_check.fixity_check.revision:
class: Drupal\dgi_fixity\Access\FixityCheckRevisionAccessCheck
arguments: ['@entity_type.manager']
tags:
- { name: access_check, applies_to: _access_fixity_check_revision }