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. 7.x includes/common.inc \drupal_get_breadcrumb()

Get the breadcrumb trail for the current page.

2 calls to drupal_get_breadcrumb()
chameleon_page in themes/chameleon/chameleon.theme
template_preprocess_page in includes/theme.inc
Process variables for page.tpl.php

File

includes/common.inc, line 101
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;
}