You are here

function breadcrumb_extra_field_menu in Breadcrumb Extra Field 7

Implements hook_menu().

File

./breadcrumb_extra_field.module, line 88
Main module file.

Code

function breadcrumb_extra_field_menu() {
  $items = array();
  $items['admin/structure/breadcrumb-extra-field'] = array(
    'title' => 'Settings',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer breadcrumb extra field',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'breadcrumb_extra_field_admin',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
    'file' => 'breadcrumb_extra_field.admin.inc',
  );
  return $items;
}