public function VoteInterface::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 VoteInterface::setValueType()
- Vote::setValueType in src/
Entity/ Vote.php - Sets the vote value type.
File
- src/
VoteInterface.php, line 83
Class
- VoteInterface
- Provides an interface defining a vote entity.
Namespace
Drupal\votingapiCode
public function setValueType($value_type);