You are here

function og_get_breadcrumb in Organic groups 6

Same name and namespace in other branches
  1. 6.2 og.module \og_get_breadcrumb()
5 calls to og_get_breadcrumb()
og_form_alter in ./og.module
og_invite_form in ./og.module
og_manage in ./og.module
og_nodeapi in ./og.module
Implementation of hook_nodeapi().
og_view_group in ./og.module

File

./og.module, line 1562

Code

function og_get_breadcrumb($group_node) {
  $bc[] = l(t('Home'), "");
  if (module_exists('og_views')) {
    $bc[] = l(t('Groups'), "og");
  }
  $bc[] = l($group_node->title, "node/{$group_node->nid}");
  return $bc;
}