function hook_default_og_membership_type

7.x-2.x og.api.php hook_default_og_membership_type()
7.x-1.x 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/og.module
Implements hook_default_og_membership_type().

File

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

Code

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