- π³πΏNew Zealand jlscott
When working with Group v2 or Group v3, the query will need to be updated to:
$group_roles = $this->entityTypeManager->getStorage('group_role')->loadByProperties([ 'group_type' => 'my_group_type', 'scope' => 'individual', ]);