You are here

function theme_breadcrumb in Drupal 5

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

3 theme calls to theme_breadcrumb()
chameleon_page in themes/chameleon/chameleon.theme
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine. Uses the arg() function to generate a series of page template files suggestions based on the current path. If none are found, the default page.tpl.php…
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.

File

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

Code

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