You are here

public function PollStorageInterface::saveVote in Poll 8

Save a user's vote.

Parameters

array $options:

Return value

mixed

Deprecated

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

See also

\Drupal\poll\PollVoteStorageInterface::saveVote()

1 method overrides PollStorageInterface::saveVote()
PollStorage::saveVote in src/PollStorage.php
Save a user's vote.

File

src/PollStorageInterface.php, line 25

Class

PollStorageInterface
Defines a common interface for poll entity controller classes.

Namespace

Drupal\poll

Code

public function saveVote(array $options);