You are here

rate.services.yml in Rate 8

Same filename and directory in other branches
  1. 8.2 rate.services.yml

File

rate.services.yml
View source
  1. services:
  2. rate.entity.vote_widget:
  3. class: Drupal\rate\RateEntityVoteWidget
  4. arguments: ['@config.factory', '@entity_type.manager', '@current_user', '@plugin.manager.votingapi.resultfunction']
  5. rate.bot_detector:
  6. class: Drupal\rate\RateBotDetector
  7. arguments: ['@config.factory', '@database', '@http_client', '@request_stack']
  8. rate.vote:
  9. class: Drupal\rate\RateVote
  10. arguments: ['@entity_type.manager', '@plugin.manager.votingapi.resultfunction', '@database', '@rate.bot_detector', '@current_user', '@messenger']