public function Vote::setValueType in Voting API 8.3
Sets the vote value type.
Parameters
string $value_type: The vote value type.
Return value
$this
Overrides VoteInterface::setValueType
File
- src/
Entity/ Vote.php, line 103
Class
- Vote
- Defines the Vote entity.
Namespace
Drupal\votingapi\EntityCode
public function setValueType($value_type) {
return $this
->set('value_type', $value_type);
}