You are here

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\Entity

Code

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