You are here

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

Sets parent content ID.

Parameters

int $parent_content_id: The parent content ID.

Return value

$this

1 call to OpignoGroupManagedLink::setParentContentId()
OpignoGroupManagedLink::setParentContent in src/Entity/OpignoGroupManagedLink.php
Sets parent content.

File

src/Entity/OpignoGroupManagedLink.php, line 130

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function setParentContentId($parent_content_id) {
  $this
    ->set('parent_content_id', $parent_content_id);
  return $this;
}