public function LPManagedContent::setSuccessScoreMin in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPManagedContent.php \Drupal\opigno_learning_path\Entity\LPManagedContent::setSuccessScoreMin()
Sets minimum score to success this learning path.
Parameters
int $success_score_min: The minimum score to success this learning path.
Return value
$this
File
- src/
Entity/ LPManagedContent.php, line 163
Class
- LPManagedContent
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function setSuccessScoreMin($success_score_min) {
$this
->set('success_score_min', $success_score_min);
return $this;
}