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