function drupal_get_breadcrumb in Drupal 7
Same name and namespace in other branches
- 4 includes/common.inc \drupal_get_breadcrumb()
- 5 includes/common.inc \drupal_get_breadcrumb()
- 6 includes/common.inc \drupal_get_breadcrumb()
Gets the breadcrumb trail for the current page.
1 call to drupal_get_breadcrumb()
- template_process_page in includes/
theme.inc - Process variables for page.tpl.php
File
- includes/
common.inc, line 255 - Common functions that many Drupal modules will need to reference.
Code
function drupal_get_breadcrumb() {
$breadcrumb = drupal_set_breadcrumb();
if (!isset($breadcrumb)) {
$breadcrumb = menu_get_active_breadcrumb();
}
return $breadcrumb;
}