You are here

function taxonomy_breadcrumb_menu in Taxonomy Breadcrumb 7

Same name and namespace in other branches
  1. 5 taxonomy_breadcrumb.module \taxonomy_breadcrumb_menu()
  2. 6 taxonomy_breadcrumb.module \taxonomy_breadcrumb_menu()

Implements hook_menu().

File

./taxonomy_breadcrumb.module, line 36
The taxonomy_breadcrumb module generates taxonomy based breadcrumbs on node pages and taxonomy/term pages. The breadcrumb trail takes on the form: [HOME] >> [VOCABULARY] >> TERM >> [TERM] ...

Code

function taxonomy_breadcrumb_menu() {
  $items['admin/config/user-interface/taxonomy-breadcrumb'] = array(
    'title' => 'Taxonomy Breadcrumb Settings',
    'description' => 'Configure how taxonomy based breadcrumbs are displayed.',
    'file' => 'taxonomy_breadcrumb.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'taxonomy_breadcrumb_admin_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}