You are here

function crumbs_build_breadcrumb in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 crumbs.breadcrumb.inc \crumbs_build_breadcrumb()
  2. 7 crumbs.module \crumbs_build_breadcrumb()
1 call to crumbs_build_breadcrumb()
crumbs_get_breadcrumb in ./crumbs.module

File

./crumbs.module, line 97

Code

function crumbs_build_breadcrumb($trail) {
  $breadcrumb = array();
  foreach ($trail as $path => $item) {
    $breadcrumb[] = $item
      ->link();
  }
  return $breadcrumb;
}