You are here

function taxonomy_breadcrumb_menu in Taxonomy Breadcrumb 6

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

Implementation of hook_menu().

File

./taxonomy_breadcrumb.module, line 43
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/settings/taxonomy-breadcrumb'] = array(
    'title' => 'Taxonomy Breadcrumb',
    '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;
}