function drupal_get_breadcrumb in Drupal 4
Same name and namespace in other branches
- 5 includes/common.inc \drupal_get_breadcrumb()
- 6 includes/common.inc \drupal_get_breadcrumb()
- 7 includes/common.inc \drupal_get_breadcrumb()
Get the breadcrumb trail for the current page.
4 calls to drupal_get_breadcrumb()
- chameleon_page in themes/
chameleon/ chameleon.theme - phptemplate_page in themes/
engines/ phptemplate/ phptemplate.engine - Prepare the values passed to the theme_page function to be passed into a pluggable template engine.
- theme_page in includes/
theme.inc - Return an entire Drupal page displaying the supplied content.
- user_admin_perm in modules/
user.module - Menu callback: administer permissions.
File
- includes/
common.inc, line 89 - Common functions that many Drupal modules will need to reference.
Code
function drupal_get_breadcrumb() {
$breadcrumb = drupal_set_breadcrumb();
if (is_null($breadcrumb)) {
$breadcrumb = menu_get_active_breadcrumb();
}
return $breadcrumb;
}