drupal_get_breadcrumb

Versions
4.6 – 7
drupal_get_breadcrumb()

Get the breadcrumb trail for the current page.

▾ 4 functions call drupal_get_breadcrumb()

chameleon_page in themes/chameleon/chameleon.theme
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine.
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.
user_admin_perm in modules/user.module
Menu callback: administer permissions.

Code

includes/common.inc, line 89

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

  if (is_null($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.