services:
  social_event.route_subscriber:
    class: Drupal\social_event\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }
  social_event.enroll_request_overview_subscriber:
    class: Drupal\social_event\Routing\EnrollRequestsOverviewSubscriber
    tags:
      - { name: event_subscriber }
  social_event.status_helper:
    class: Drupal\social_event\EventEnrollmentStatusHelper
    arguments: ['@current_route_match', '@entity_type.manager', '@current_user', '@config.factory']
  social_event.translation_defaults:
    class: Drupal\social_event\ContentTranslationDefaultsConfigOverride
    tags:
      - { name: config.factory.override, priority: 5 }
      - { name: social_language_defaults }
  social_event.enroll:
    class: Drupal\social_event\Service\SocialEventEnrollService
    arguments:
      - '@config.factory'
    deprecated: The "%service_id%" service is deprecated in social:11.5.0 and is removed from social:13.0.0. See https://www.drupal.org/project/social/issues/3306568
  social_event.enrollments_access:
    class: Drupal\social_event\Access\EventEnrollmentsAccessCheck
    tags:
      - { name: access_check, applies_to: _social_event_enrollments_access }
