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