public function VoteResultInterface::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 VoteResultInterface::getVotedEntityType()
- VoteResult::getVotedEntityType in src/
Entity/ VoteResult.php - Returns the type of entity that the vote was cast on.
File
- src/
VoteResultInterface.php, line 19
Class
- VoteResultInterface
- Provides an interface defining a vote entity.
Namespace
Drupal\votingapiCode
public function getVotedEntityType();