You are here

function og_types_map in Organic groups 5.3

Same name and namespace in other branches
  1. 5.8 og.module \og_types_map()
  2. 5 og.module \og_types_map()
  3. 5.7 og.module \og_types_map()
  4. 6.2 og.module \og_types_map()
  5. 6 og.module \og_types_map()
2 calls to og_types_map()
og_admin_settings in ./og.module
og_form_alter in ./og.module

File

./og.module, line 2013

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;
}