You are here

public function OpignoGroupManagedLink::setGroupId in Opigno group manager 3.x

Same name and namespace in other branches
  1. 8 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\Entity

Code

public function setGroupId($group_id) {
  $this
    ->set('group_id', $group_id);
  return $this;
}