You are here

function custom_breadcrumbs_init in Custom Breadcrumbs 6.2

Same name and namespace in other branches
  1. 7.2 custom_breadcrumbs.module \custom_breadcrumbs_init()

Implements hook_init().

File

./custom_breadcrumbs.module, line 141
Provide custom breadcrumbs for node-type pages and base functionality for submodules to add custom breadcrumbs for other types of pages.

Code

function custom_breadcrumbs_init() {
  if (variable_get('custom_breadcrumbs_set_menu_breadcrumb', FALSE)) {

    // Use selected menu structure to set the breadcrumb.
    custom_breadcrumbs_set_menu_breadcrumb();
  }
}