You are here

public function VoteInterface::getVotedEntityId in Voting API 8.3

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

Return value

int The entity ID.

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

File

src/VoteInterface.php, line 37

Class

VoteInterface
Provides an interface defining a vote entity.

Namespace

Drupal\votingapi

Code

public function getVotedEntityId();