public function LPManagedLink::setParentContentId in Opigno Learning path 8
Same name and namespace in other branches
- 3.x 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\EntityCode
public function setParentContentId($parent_content_id) {
$this
->set('parent_content_id', $parent_content_id);
return $this;
}