Same name and namespace in other branches
  1. 4.6.x includes/theme.inc \theme_breadcrumb()
  2. 4.7.x includes/theme.inc \theme_breadcrumb()
  3. 5.x includes/theme.inc \theme_breadcrumb()
  4. 7.x includes/theme.inc \theme_breadcrumb()

Return a themed breadcrumb trail.

Parameters

$breadcrumb: An array containing the breadcrumb links.

Return value

a string containing the breadcrumb output.

Related topics

2 theme calls to theme_breadcrumb()
chameleon_page in themes/chameleon/chameleon.theme
template_preprocess_page in includes/theme.inc
Process variables for page.tpl.php

File

includes/theme.inc, line 1301
The theme system, which controls the output of Drupal.

Code

function theme_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">' . implode(' » ', $breadcrumb) . '</div>';
  }
}