Skip navigation
Help

drupal_set_breadcrumb

6 common.inc drupal_set_breadcrumb($breadcrumb = NULL)
7 common.inc drupal_set_breadcrumb($breadcrumb = NULL)

Set the breadcrumb trail for the current page.

Parameters

$breadcrumb: Array of links, starting with "home" and proceeding up to but not including the current page.

10 calls to drupal_set_breadcrumb()

File

drupal/includes/common.inc, line 229
Common functions that many Drupal modules will need to reference.

Code

function drupal_set_breadcrumb($breadcrumb = NULL) {
  $stored_breadcrumb = &drupal_static(__FUNCTION__);

  if (isset($breadcrumb)) {
    $stored_breadcrumb = $breadcrumb;
  }
  return $stored_breadcrumb;
}