public function OgMembership::group in Organic groups 7.2
Same name and namespace in other branches
- 7 og.module \OgMembership::group()
Return the group assocaited with the OG membership.
File
- includes/
og.membership.inc, line 104 - Main class for OG membership entities provided by Entity API.
Class
- OgMembership
- @file Main class for OG membership entities provided by Entity API.
Code
public function group() {
return entity_load_single($this->group_type, $this->gid);
}