You are here

public function Vote::getValueType in Voting API 8.3

Returns the vote value type.

Return value

string The value type of the vote.

Overrides VoteInterface::getValueType

File

src/Entity/Vote.php, line 96

Class

Vote
Defines the Vote entity.

Namespace

Drupal\votingapi\Entity

Code

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