You are here

service rate.vote in Rate 8

Class

Drupal\rate\RateVote
3 string references to rate.vote
template_preprocess_rate_template_fivestar in ./rate.module
Implements hook_preprocess_HOOK() for rate-template-fivestar.html.twig.
VoteController::create in src/Controller/VoteController.php
Instantiates a new instance of this class.
_rate_set_common_theme_variables in ./rate.module
Helper function to set common themeing variables.

File

./rate.services.yml
rate.services.yml

View source
  1. class: Drupal\rate\RateVote
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@plugin.manager.votingapi.resultfunction'
  5. - '@database'
  6. - '@rate.bot_detector'
  7. - '@current_user'
  8. - '@messenger'