You are here

public function PollStorageInterface::getVotes in Poll 8

Get all votes for a poll.

Parameters

PollInterface $poll:

Return value

mixed

Deprecated

in Drupal 8.x-1.0. Use \Drupal\poll\PollVoteStorageInterface::getVotes() instead.

See also

\Drupal\poll\PollVoteStorageInterface::getVotes()

1 method overrides PollStorageInterface::getVotes()
PollStorage::getVotes in src/PollStorage.php
Get all votes for a poll.

File

src/PollStorageInterface.php, line 68

Class

PollStorageInterface
Defines a common interface for poll entity controller classes.

Namespace

Drupal\poll

Code

public function getVotes(PollInterface $poll);