public function PollStorageInterface::deleteVotes in Poll 8
Delete a user's votes for a poll.
Parameters
PollInterface $poll:
Return value
mixed
Deprecated
in Drupal 8.x-1.0. Use \Drupal\poll\PollVoteStorageInterface::deleteVotes() instead.
See also
\Drupal\poll\PollVoteStorageInterface::deleteVotes()
1 method overrides PollStorageInterface::deleteVotes()
- PollStorage::deleteVotes in src/
PollStorage.php - Delete a user's votes for a poll.
File
- src/
PollStorageInterface.php, line 82
Class
- PollStorageInterface
- Defines a common interface for poll entity controller classes.
Namespace
Drupal\pollCode
public function deleteVotes(PollInterface $poll);