You are here

function hook_default_og_membership_type in Organic groups 7.2

Same name and namespace in other branches
  1. 7 og.api.php \hook_default_og_membership_type()

Define default OG membership type configurations.

Return value

An array of default OG membership types, keyed by machine names.

See also

hook_default_og_membership_type_alter()

1 function implements hook_default_og_membership_type()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

og_default_og_membership_type in ./og.module
Implements hook_default_og_membership_type().

File

./og.api.php, line 353
Hooks provided by the Organic groups module.

Code

function hook_default_og_membership_type() {
  $defaults['main'] = entity_create('og_membership_type', array());
  return $defaults;
}