public function VoteInterface::getVotedEntityType in Voting API 8.3
Returns the type of entity that the vote was cast on.
Return value
string The entity type.
1 method overrides VoteInterface::getVotedEntityType()
- Vote::getVotedEntityType in src/
Entity/ Vote.php - Returns the type of entity that the vote was cast on.
File
- src/
VoteInterface.php, line 19
Class
- VoteInterface
- Provides an interface defining a vote entity.
Namespace
Drupal\votingapiCode
public function getVotedEntityType();