You are here

public function PollVoteStorageInterface::cancelVote in Poll 8

Cancel a user's vote.

Parameters

PollInterface $poll:

AccountInterface $account:

1 method overrides PollVoteStorageInterface::cancelVote()
PollVoteStorage::cancelVote in src/PollVoteStorage.php
Cancel a user's vote.

File

src/PollVoteStorageInterface.php, line 35

Class

PollVoteStorageInterface
Defines a common interface for poll vote controller classes.

Namespace

Drupal\poll

Code

public function cancelVote(PollInterface $poll, AccountInterface $account = NULL);