services:
  social_event_invite.access:
    class: Drupal\social_event_invite\Access\SocialEventInvitesAccess
    arguments: ['@social_event_invite.access_helper']
  social_event_invite.access_helper:
    class: Drupal\social_event_invite\SocialEventInviteAccessHelper
    arguments: ['@current_route_match', '@config.factory', '@social_group.helper_service', '@entity_type.manager', '@current_user']
  social_event_invite.route_subscriber:
    class: Drupal\social_event_invite\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }
  social_event_invite.override:
    class: \Drupal\social_event_invite\SocialEventInviteConfigOverride
    arguments:
      - '@request_stack'
      - '@email.validator'
      - '@database'
      - '@config.factory'
    tags:
      - {name: config.factory.override, priority: 10}
