function drupal_set_breadcrumb

Sets 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.

8 calls to drupal_set_breadcrumb()
blog_view in modules/blog/blog.module
Implements hook_view().
comment_reply in modules/comment/comment.pages.inc
This function is responsible for generating a comment reply form. There are several cases that have to be handled, including:
drupal_get_breadcrumb in includes/common.inc
Gets the breadcrumb trail for the current page.
forum_node_view in modules/forum/forum.module
Implements hook_node_view().
hook_view in modules/node/node.api.php
Display a node.

... See full list

File

includes/common.inc, line 243

Code

function drupal_set_breadcrumb($breadcrumb = NULL) {
    $stored_breadcrumb =& drupal_static(__FUNCTION__);
    if (isset($breadcrumb)) {
        $stored_breadcrumb = $breadcrumb;
    }
    return $stored_breadcrumb;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.