1 common.inc backdrop_get_breadcrumb()

Gets the breadcrumb trail for the current page.

File

core/includes/common.inc, line 223
Common functions that many Backdrop modules will need to reference.

Code

function backdrop_get_breadcrumb() {
  $breadcrumb = backdrop_set_breadcrumb();

  if (!isset($breadcrumb)) {
    $breadcrumb = menu_get_active_breadcrumb();
  }

  return $breadcrumb;
}