function drupal_get_breadcrumb

drupal_get_breadcrumb()

Gets the breadcrumb trail for the current page.

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/function/drupal_get_breadcrumb/7.x