public function LPStatus::setScore in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/Entity/LPStatus.php \Drupal\opigno_learning_path\Entity\LPStatus::setScore()
Sets the user score.
Parameters
int $value: The user score.
Return value
$this
Overrides LPStatusInterface::setScore
File
- src/
Entity/ LPStatus.php, line 146
Class
- LPStatus
- Defines the User Learning Path attempt status entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function setScore($value) {
$this
->set('score', $value);
return $this;
}