You are here

19 September 2011

To change breadcrumb in module you can use two functions. You can change breadcrumbs separators or the whole logic using theme_breadcrumb in your templates template.php file.

Source code viewer
  1. // Set the breadcrumb trail for the current page.
  2. drupal_set_breadcrumb($breadcrumb = NULL);
  3.  
  4. // Get the breadcrumb trail for the current page.
  5. $breadcrumb = drupal_get_breadcrumb();
Programming Language: PHP