1 system.module system_breadcrumb_block($settings = array())

Output the content for the breadcrumb block.

See also

system_block_view()

File

core/modules/system/system.module, line 3212
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));
}