public static function LPResult::loadByLearningPath in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/Entity/LPResult.php \Drupal\opigno_learning_path\Entity\LPResult::loadByLearningPath()
Loads LP Result by LP.
1 call to LPResult::loadByLearningPath()
- LearningPathResults::results in src/
Controller/ LearningPathResults.php - Results page for a learning path.
File
- src/
Entity/ LPResult.php, line 255
Class
- LPResult
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public static function loadByLearningPath(Group $learning_path) {
return self::loadByProperties([
'learning_path_id' => $learning_path
->id(),
]);
}