You are here

public function LPManagedLink::setParentContentId in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 src/Entity/LPManagedLink.php \Drupal\opigno_learning_path\Entity\LPManagedLink::setParentContentId()

Sets parent content ID.

1 call to LPManagedLink::setParentContentId()
LPManagedLink::setParentContent in src/Entity/LPManagedLink.php
Sets parent learning path content object.

File

src/Entity/LPManagedLink.php, line 106

Class

LPManagedLink
Defines the Learning Path Link entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

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