public function LPResult::getLearningPath in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPResult.php \Drupal\opigno_learning_path\Entity\LPResult::getLearningPath()
Returns Learning Path.
File
- src/
Entity/ LPResult.php, line 86
Class
- LPResult
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function getLearningPath() {
return $this
->get('learning_path_id')->entity;
}