Same name and namespace in other branches
  1. 4.6.x includes/common.inc \drupal_get_breadcrumb()
  2. 4.7.x includes/common.inc \drupal_get_breadcrumb()
  3. 5.x includes/common.inc \drupal_get_breadcrumb()
  4. 6.x 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;
}