1 system.module | system_breadcrumb_block($settings = array()) |
Output the content for the breadcrumb block.
See also
File
- core/
modules/ system/ system.module, line 3437 - 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 aria-current="page">' . backdrop_get_title() . '</span>';
}
return theme('breadcrumb', array('breadcrumb' => $crumbs));
}