| 5 theme.inc | theme_breadcrumb($breadcrumb) |
| 6 theme.inc | theme_breadcrumb( |
| 7 theme.inc | theme_breadcrumb($variables) |
| 8 theme.inc | theme_breadcrumb($variables) |
Return a themed breadcrumb trail.
Parameters
$breadcrumb: An array containing the breadcrumb links.
Return value
a string containing the breadcrumb output.
Related topics
File
- includes/
theme.inc, line 631 - The theme system, which controls the output of Drupal.
Code
<?php
function theme_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">' . implode(' » ', $breadcrumb) . '</div>';
}
}
?>Login or register to post comments