You are here

public function VoteInterface::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 VoteInterface::setVotedEntityType()
Vote::setVotedEntityType in src/Entity/Vote.php
Sets the type of entity that the vote was cast on.

File

src/VoteInterface.php, line 29

Class

VoteInterface
Provides an interface defining a vote entity.

Namespace

Drupal\votingapi

Code

public function setVotedEntityType($name);