services:
  social_post.route_subscriber:
    class: Drupal\social_post\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }

  social_post.permission_generator:
    class: Drupal\social_post\Service\PostPermissions
    arguments: ['@entity_type.manager', '@string_translation']

  social_post.helper:
    class: Drupal\social_post\Service\SocialPostHelper
    arguments: ['@entity_type.manager', '@current_user']
