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