1.20.x system.module | system_breadcrumb_block($settings = array()) |
Output the content for the breadcrumb block.
See also
File
- modules/
system/ system.module, line 3319 - Configuration system that lets administrators modify the workings of the site.
Code
function system_breadcrumb_block($settings = array()) {
$crumbs = backdrop_get_breadcrumb();
if (isset($settings['current']) && $settings['current'] == TRUE) {
$crumbs[] = '<span>' . backdrop_get_title() . '</span>';
}
return theme('breadcrumb', array('breadcrumb' => $crumbs));
}