services:
  moderation_dashboard.response_subscriber:
    class: Drupal\moderation_dashboard\Routing\ResponseSubscriber
    tags:
      - { name: event_subscriber }
    arguments: ['@current_user', '@plugin.manager.condition', '@config.factory']
  moderation_dashboard.access_checker:
    class: Drupal\moderation_dashboard\Access\ModerationDashboardAccess
    arguments: [ '@current_route_match']
    tags:
      - { name: access_check }
