You are here

public function OpignoGroupManagedLink::getParentContentId 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::getParentContentId()

Returns parent content ID.

Return value

int The parent content ID.

File

src/Entity/OpignoGroupManagedLink.php, line 118

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function getParentContentId() {
  return $this
    ->get('parent_content_id')->target_id;
}