function drupal_get_breadcrumb

Gets the breadcrumb trail for the current page.

2 calls to drupal_get_breadcrumb()
template_process_page in drupal/core/includes/theme.inc
Process variables for page.tpl.php
ViewExecutable::getBreadcrumb in drupal/core/modules/views/lib/Drupal/views/ViewExecutable.php
Get the breadcrumb used for this view.

File

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