You are here

function og_ui_membership_links_content_type_admin_title in Organic groups 7.2

File

og_ui/plugins/content_types/membership_links/membership_links.inc, line 142

Code

function og_ui_membership_links_content_type_admin_title($subtype, $conf, $context) {
  if (empty($conf['membership_types'])) {
    return t('Membership links for all accessible membership types');
  }
  else {
    $types = og_ui_subscribe_get_types($conf);
    return t('Membership links for @types membership types', array(
      '@types' => implode(', ', $types),
    ));
  }
}