You are here

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

Sets child content ID.

Parameters

int $child_content_id: The child content ID.

Return value

$this

1 call to OpignoGroupManagedLink::setChildContentId()
OpignoGroupManagedLink::setChildContent in src/Entity/OpignoGroupManagedLink.php
Sets child content.

File

src/Entity/OpignoGroupManagedLink.php, line 176

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function setChildContentId($child_content_id) {
  $this
    ->set('child_content_id', $child_content_id);
  return $this;
}