You are here

service poll_vote.storage in Poll 8

Class

Drupal\poll\PollVoteStorage
11 string references to poll_vote.storage
Poll::getVotes in src/Entity/Poll.php
Get all the votes of this poll.
Poll::hasUserVoted in src/Entity/Poll.php
@todo: Refactor - doesn't belong here.
PollKernelTestBase::saveVote in tests/src/Kernel/PollKernelTestBase.php
Saves a vote for a given poll.
PollListBuilder::buildRow in src/PollListBuilder.php
Overrides Drupal\Core\Entity\EntityListController::buildRow().
PollResultsTest::testPollResults in tests/src/Kernel/PollResultsTest.php
Tests results generation for Polls.

... See full list

File

./poll.services.yml
poll.services.yml

View source
  1. class: Drupal\poll\PollVoteStorage
  2. arguments:
  3. - '@database'
  4. - '@cache_tags.invalidator'