public function VoteResult::getValue in Voting API 8.3
Returns the vote value.
Return value
float The numeric value of the vote.
Overrides VoteResultInterface::getValue
File
- src/
Entity/ VoteResult.php, line 70
Class
- VoteResult
- Defines the VoteResult entity.
Namespace
Drupal\votingapi\EntityCode
public function getValue() {
return $this
->get('value')->value;
}