drupal_get_breadcrumb

Versions
4.6 – 7
drupal_get_breadcrumb()

Get the breadcrumb trail for the current page.

▾ 3 functions call drupal_get_breadcrumb()

chameleon_page in themes/chameleon/chameleon.theme
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.
xtemplate_page in themes/engines/xtemplate/xtemplate.engine

Code

includes/common.inc, line 30

<?php
function drupal_get_breadcrumb() {
  $breadcrumb = drupal_set_breadcrumb();

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

  return $breadcrumb;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.