services:
  social_follow_user.flag_subscriber:
    class: Drupal\social_follow_user\EventSubscriber\FlagEvents
    arguments: ['@cache_tags.invalidator']
    tags:
      - { name: event_subscriber }
  social_follow_user.helper:
    class: Drupal\social_follow_user\Service\SocialFollowUserHelper
    arguments:
      - '@current_user'
      - '@flag'
