public function OgMembership::save in Organic groups 7
Same name and namespace in other branches
- 7.2 includes/og.membership.inc \OgMembership::save()
Permanently saves the entity.
Overrides Entity::save
See also
File
- ./
og.module, line 1004 - 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 save() {
parent::save();
og_group_membership_invalidate_cache();
}