You are here

public function VoteInterface::setVotedEntityId in Voting API 8.3

Sets the ID of the entity that the vote was cast on.

Parameters

int $id: The entity ID.

Return value

$this

1 method overrides VoteInterface::setVotedEntityId()
Vote::setVotedEntityId in src/Entity/Vote.php
Sets the ID of the entity that the vote was cast on.

File

src/VoteInterface.php, line 47

Class

VoteInterface
Provides an interface defining a vote entity.

Namespace

Drupal\votingapi

Code

public function setVotedEntityId($id);