function og_panels_set_breadcrumb in Organic groups 6
Same name and namespace in other branches
- 5.8 og_panels.module \og_panels_set_breadcrumb()
- 5 og_panels.module \og_panels_set_breadcrumb()
- 5.3 og_panels.module \og_panels_set_breadcrumb()
- 5.7 og_panels.module \og_panels_set_breadcrumb()
3 calls to og_panels_set_breadcrumb()
- og_panels_edit_content in modules/
og_panels/ og_panels.module - Pass through to the panels content editor.
- og_panels_edit_layout in modules/
og_panels/ og_panels.module - Pass through to the panels layout editor.
- og_panels_edit_layout_settings in modules/
og_panels/ og_panels.module - Pass through to the panels layout settings editor.
File
- modules/
og_panels/ og_panels.module, line 453
Code
function og_panels_set_breadcrumb($section, $group_node = NULL) {
switch ($section) {
case 'panel_edit':
$bc[] = l(t('Home'), '');
$bc[] = l($group_node->title, "node/{$group_node->nid}");
$bc[] = l(t('Pages'), "node/{$group_node->nid}/og_panels");
}
drupal_set_breadcrumb($bc);
}