You are here

public function OpignoGroupManagedLink::getChildContent in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoGroupManagedLink.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedLink::getChildContent()

Returns child content.

Return value

OpignoGroupManagedContent The child content object.

File

src/Entity/OpignoGroupManagedLink.php, line 187

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function getChildContent() {
  return $this
    ->get('child_content_id')->entity;
}