You are here

social_post.services.yml in Open Social 10.0.x

modules/social_features/social_post/social_post.services.yml

File

modules/social_features/social_post/social_post.services.yml
View source
  1. services:
  2. social_post.route_subscriber:
  3. class: Drupal\social_post\Routing\RouteSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. social_post.permission_generator:
  7. class: Drupal\social_post\Service\PostPermissions
  8. arguments: ['@entity_type.manager', '@string_translation']
  9. social_post.helper:
  10. class: Drupal\social_post\Service\SocialPostHelper
  11. arguments: ['@entity_type.manager', '@current_user']