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