You are here

function theme_breadcrumb in Drupal 6

Same name and namespace in other branches
  1. 4 includes/theme.inc \theme_breadcrumb()
  2. 5 includes/theme.inc \theme_breadcrumb()
  3. 7 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>';
  }
}