public function VoteResultInterface::setValueType in Voting API 8.3
Sets the vote value type.
Parameters
string $value_type: The vote value type.
Return value
$this
1 method overrides VoteResultInterface::setValueType()
- VoteResult::setValueType in src/
Entity/ VoteResult.php - Sets the vote value type.
File
- src/
VoteResultInterface.php, line 83
Class
- VoteResultInterface
- Provides an interface defining a vote entity.
Namespace
Drupal\votingapiCode
public function setValueType($value_type);