public function LPResult::setHasPassed in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/Entity/LPResult.php \Drupal\opigno_learning_path\Entity\LPResult::setHasPassed()
Sets passed flag.
File
- src/
Entity/ LPResult.php, line 139
Class
- LPResult
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function setHasPassed($has_passed) {
$this
->set('has_passed', $has_passed);
return $this;
}