You are here

function og_types_map in Organic groups 5

Same name and namespace in other branches
  1. 5.8 og.module \og_types_map()
  2. 5.3 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 2289

Code

function og_types_map() {
  $usages = array(
    'group' => t('Group node'),
    'omitted' => t('May not be posted into a group.'),
    'group_post_standard_mail' => t('Standard group post (typically only author may edit). Sends email notifications.'),
    'group_post_standard_nomail' => t('Standard group post (typically only author may edit). No email notification.'),
  );
  if (module_exists('og_access')) {
    $usages['group_post_wiki_mail'] = t('Wiki group post (any group member may edit). Sends email notifications.');
    $usages['group_post_wiki_nomail'] = t('Wiki group post (any group member may edit). No email notification.');
  }
  return $usages;
}