public function VoteInterface::getSource in Voting API 8.3
Returns the source of the vote. It is the user's IP address hash.
Return value
string The vote source.
1 method overrides VoteInterface::getSource()
- Vote::getSource in src/
Entity/ Vote.php - Returns the source of the vote. It is the user's IP address hash.
File
- src/
VoteInterface.php, line 109
Class
- VoteInterface
- Provides an interface defining a vote entity.
Namespace
Drupal\votingapiCode
public function getSource();