You are here

public function Vote::getValue in Voting API 8.3

Returns the vote value.

Return value

float The numeric value of the vote.

Overrides VoteInterface::getValue

File

src/Entity/Vote.php, line 82

Class

Vote
Defines the Vote entity.

Namespace

Drupal\votingapi\Entity

Code

public function getValue() {
  return $this
    ->get('value')->value;
}