theme_breadcrumb
Definition
theme_breadcrumb($breadcrumb)
drupal/includes/theme.inc, line 1226
Description
Return a themed breadcrumb trail.
Parameters
$breadcrumb An array containing the breadcrumb links.
Return value
a string containing the breadcrumb output.
Related topics
| Name | Description |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
Code
<?php
function theme_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
}
}
?> 