public function VoteResultInterface::setVotedEntityType in Voting API 8.3
Sets the type of entity that the vote was cast on.
Parameters
string $name: The entity type.
Return value
$this
1 method overrides VoteResultInterface::setVotedEntityType()
- VoteResult::setVotedEntityType in src/
Entity/ VoteResult.php - Sets the type of entity that the vote was cast on.
File
- src/
VoteResultInterface.php, line 29
Class
- VoteResultInterface
- Provides an interface defining a vote entity.
Namespace
Drupal\votingapiCode
public function setVotedEntityType($name);