You are here

public function PollStorageInterface::getTotalVotes in Poll 8

Get total votes for a poll.

Parameters

PollInterface $poll:

Return value

mixed

Deprecated

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

See also

\Drupal\poll\PollVoteStorageInterface::getTotalVotes()

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

File

src/PollStorageInterface.php, line 54

Class

PollStorageInterface
Defines a common interface for poll entity controller classes.

Namespace

Drupal\poll

Code

public function getTotalVotes(PollInterface $poll);