public function OpignoAnswer::setScore in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoAnswer.php \Drupal\opigno_module\Entity\OpignoAnswer::setScore()
File
- src/
Entity/ OpignoAnswer.php, line 186
Class
- OpignoAnswer
- Defines the Answer entity.
Namespace
Drupal\opigno_module\EntityCode
public function setScore($value) {
$this
->set('score', $value);
return $this;
}