You are here

function og_types_map in Organic groups 6

Same name and namespace in other branches
  1. 5.8 og.module \og_types_map()
  2. 5 og.module \og_types_map()
  3. 5.3 og.module \og_types_map()
  4. 5.7 og.module \og_types_map()
  5. 6.2 og.module \og_types_map()
2 calls to og_types_map()
og_admin_settings in includes/og.admin.inc
Menu callback to load settings form.
og_form_node_type_form_alter in ./og.module

File

./og.module, line 2326

Code

function og_types_map() {
  $usages = array(
    'group' => t('Group node'),
    'omitted' => t('May not be posted into a group.'),
    'group_post_standard' => t('Standard group post (typically only author may edit).'),
  );
  if (module_exists('og_access')) {
    $usages['group_post_wiki'] = t('Wiki group post (any group member may edit).');
  }
  return $usages;
}