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