public function OpignoGroupManagedLink::setChildContent in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoGroupManagedLink.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedLink::setChildContent()
Sets child content.
Parameters
OpignoGroupManagedContent $child_content: The child content object.
Return value
$this
File
- src/
Entity/ OpignoGroupManagedLink.php, line 199
Class
- OpignoGroupManagedLink
- Defines the Opigno Group Link entity.
Namespace
Drupal\opigno_group_manager\EntityCode
public function setChildContent(OpignoGroupManagedContent $child_content) {
$this
->setChildContentId($child_content
->id());
return $this;
}