public function OpignoGroupManagedLink::setGroupId in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoGroupManagedLink.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedLink::setGroupId()
Sets group entity ID.
Parameters
int $group_id: The Group entity ID.
Return value
$this
1 call to OpignoGroupManagedLink::setGroupId()
- OpignoGroupManagedLink::setGroup in src/
Entity/ OpignoGroupManagedLink.php - Sets group entity.
File
- src/
Entity/ OpignoGroupManagedLink.php, line 84
Class
- OpignoGroupManagedLink
- Defines the Opigno Group Link entity.
Namespace
Drupal\opigno_group_manager\EntityCode
public function setGroupId($group_id) {
$this
->set('group_id', $group_id);
return $this;
}