You are here

public function VoteResultInterface::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 VoteResultInterface::getVotedEntityId()
VoteResult::getVotedEntityId in src/Entity/VoteResult.php
Returns the ID of the entity that the vote was cast on.

File

src/VoteResultInterface.php, line 37

Class

VoteResultInterface
Provides an interface defining a vote entity.

Namespace

Drupal\votingapi

Code

public function getVotedEntityId();