You are here

function _photos_breadcrumb in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \_photos_breadcrumb()
6 calls to _photos_breadcrumb()
photos_album_page in inc/photos.album.inc
photos_album_slide in inc/photos.album.inc
photos_image_page in inc/photos.image.inc
photos_page_album in inc/photos.page.inc
photos_page_image in inc/photos.page.inc

... See full list

File

./photos.module, line 1416

Code

function _photos_breadcrumb($v = array()) {
  if ($v) {
    $b[] = l(t('Home'), NULL);
    foreach ($v as $t) {
      $b[] = $t;
    }
  }
  else {
    foreach (drupal_get_breadcrumb() as $t) {
      $b[] = $t;
    }
    $b[] = drupal_get_title();
  }
  return drupal_set_breadcrumb($b);
}