theme_breadcrumb

Versions
4.6 – 6
theme_breadcrumb($breadcrumb)
7
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

Code

includes/theme.inc, line 532

<?php
function theme_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.