You are here

public function OgMembership::type in Organic groups 7

Same name and namespace in other branches
  1. 7.2 includes/og.membership.inc \OgMembership::type()

Gets the associated OG membership type.

Return value

OgMembershipType

File

./og.module, line 1026
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 type() {
  return og_membership_type_load($this->name);
}