services:
  social_core.route_subscriber:
    class: Drupal\social_core\Routing\RouteSubscriber
    arguments: ['@module_handler']
    tags:
      - { name: event_subscriber }

  social_core.invite:
    class: Drupal\social_core\InviteService
    arguments: ['@request_stack', '@module_handler', '@current_user']

  social_core.event_subscriber:
    class: Drupal\social_core\EventSubscriber\SocialInviteSubscriber
    arguments:
      - '@social_core.invite'
      - '@current_user'
      - '@messenger'
      - '@current_route_match'
      - '@config.factory'
    tags:
      - {name: event_subscriber}

  social_core.translation_defaults:
    class: Drupal\social_core\ContentTranslationDefaultsConfigOverride
    arguments: ['@module_handler']
    tags:
      - { name: config.factory.override, priority: 5 }
      - { name: social_language_defaults }

  social_core.machine_name:
    class: Drupal\social_core\Service\MachineName
    arguments: ['@transliteration']

  social_core.config_language_manager:
    class: Drupal\social_core\Service\ConfigLanguageManager
    arguments: ['@language_manager']

  social_core.layout:
    class: Drupal\social_core\Service\LayoutService
    arguments: ['@module_handler']

  social_core.members_page_helper:
    class: Drupal\social_core\Service\MembersPageHelperService
    arguments: [ '@user.data', '@current_user' ]
