public function OpignoGroupManagedLink::getGroupId in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoGroupManagedLink.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedLink::getGroupId()
Returns group entity ID.
Return value
int The Group entity ID.
File
- src/
Entity/ OpignoGroupManagedLink.php, line 72
Class
- OpignoGroupManagedLink
- Defines the Opigno Group Link entity.
Namespace
Drupal\opigno_group_manager\EntityCode
public function getGroupId() {
return $this
->get('group_id')->target_id;
}