public function OpignoGroupManagedLink::getParentContent in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoGroupManagedLink.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedLink::getParentContent()
Returns parent content.
Return value
OpignoGroupManagedContent The parent learning path content object.
File
- src/
Entity/ OpignoGroupManagedLink.php, line 141
Class
- OpignoGroupManagedLink
- Defines the Opigno Group Link entity.
Namespace
Drupal\opigno_group_manager\EntityCode
public function getParentContent() {
return $this
->get('parent_content_id')->entity;
}