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