public function PollVoteStorageInterface::getTotalVotes in Poll 8
Get total votes for a poll.
Parameters
PollInterface $poll:
Return value
mixed
1 method overrides PollVoteStorageInterface::getTotalVotes()
- PollVoteStorage::getTotalVotes in src/
PollVoteStorage.php - Get total votes for a poll.
File
- src/
PollVoteStorageInterface.php, line 69
Class
- PollVoteStorageInterface
- Defines a common interface for poll vote controller classes.
Namespace
Drupal\pollCode
public function getTotalVotes(PollInterface $poll);