You are here

social_user.services.yml in Open Social 8.7

modules/social_features/social_user/social_user.services.yml

File

modules/social_features/social_user/social_user.services.yml
View source
  1. services:
  2. social_user.route_subscriber:
  3. class: Drupal\social_user\Routing\RouteSubscriber
  4. arguments: ['@config.factory']
  5. tags:
  6. - { name: event_subscriber }
  7. social_user.username_constraint:
  8. class: Drupal\social_user\Plugin\Validation\Constraint\SocialUserNameConstraintValidator
  9. arguments: ['@typed_data_manager']
  10. social_user.user_route_context:
  11. class: Drupal\social_user\ContextProvider\UserRouteContext
  12. arguments: ['@current_route_match', '@entity.manager']
  13. tags:
  14. - { name: context_provider }
  15. social_user.redirect_subscriber:
  16. class: Drupal\social_user\EventSubscriber\RedirectSubscriber
  17. arguments: ['@current_route_match', '@current_user', '@config.factory']
  18. tags:
  19. - { name: event_subscriber }