You are here

public function PollStorageInterface::getUserVote in Poll 8

Get a user's votes for a poll.

Parameters

PollInterface $poll:

Return value

mixed

Deprecated

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

See also

\Drupal\poll\PollVoteStorageInterface::getUserVote()

1 method overrides PollStorageInterface::getUserVote()
PollStorage::getUserVote in src/PollStorage.php
Get a user's votes for a poll.

File

src/PollStorageInterface.php, line 96

Class

PollStorageInterface
Defines a common interface for poll entity controller classes.

Namespace

Drupal\poll

Code

public function getUserVote(PollInterface $poll);