public function LPManagedLink::setChildContentId in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPManagedLink.php \Drupal\opigno_learning_path\Entity\LPManagedLink::setChildContentId()
Sets child content ID.
1 call to LPManagedLink::setChildContentId()
- LPManagedLink::setChildContent in src/
Entity/ LPManagedLink.php - Sets child content object.
File
- src/
Entity/ LPManagedLink.php, line 136
Class
- LPManagedLink
- Defines the Learning Path Link entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function setChildContentId($child_content_id) {
$this
->set('child_content_id', $child_content_id);
return $this;
}