public function OgMembership::group in Organic groups 7
Same name and namespace in other branches
- 7.2 includes/og.membership.inc \OgMembership::group()
Return the group assocaited with the group membership.
File
- ./
og.module, line 1017 - Enable users to create and manage groups with roles and permissions.
Class
- OgMembership
- Main class for Group membership entities provided by Entity API.
Code
public function group() {
return og_load($this->gid);
}