function path_breadcrumbs_ui_menu in Path Breadcrumbs 7.3
Same name and namespace in other branches
- 7.2 path_breadcrumbs_ui/path_breadcrumbs_ui.module \path_breadcrumbs_ui_menu()
Implements hook_menu().
File
- path_breadcrumbs_ui/
path_breadcrumbs_ui.module, line 11 - Provide user interface for CRUD operations with path breadcrumbs.
Code
function path_breadcrumbs_ui_menu() {
$items['admin/structure/path-breadcrumbs'] = array(
'title' => 'Path Breadcrumbs',
'description' => 'Manage breadcrumbs for your site\'s pages.',
'access arguments' => array(
'administer path breadcrumbs',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'path_breadcrumbs_ui_breadcrumbs_list',
),
'file' => 'path_breadcrumbs_ui.admin.inc',
);
$items['admin/structure/path-breadcrumbs/list'] = array(
'title' => 'Path Breadcrumbs list',
'file' => 'path_breadcrumbs_ui.admin.inc',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => 0,
);
$items['admin/structure/path-breadcrumbs/settings'] = array(
'title' => 'Path Breadcrumbs settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'path_breadcrumbs_ui_settings',
),
'access arguments' => array(
'administer path breadcrumbs',
),
'file' => 'path_breadcrumbs_ui.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
$items['admin/structure/path-breadcrumbs/create'] = array(
'title' => 'Create new path breadcrumb',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'path_breadcrumbs_ui_add_form',
),
'access arguments' => array(
'administer path breadcrumbs',
),
'type' => MENU_LOCAL_ACTION,
);
$items['admin/structure/path-breadcrumbs/clone/%path_breadcrumbs_ui_cache'] = array(
'title' => 'Clone path breadcrumb',
'page callback' => 'path_breadcrumbs_clone_breadcrumb',
'page arguments' => array(
4,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'file' => 'path_breadcrumbs_ui.admin.inc',
);
$items['admin/structure/path-breadcrumbs/export/%path_breadcrumbs_ui_cache'] = array(
'title' => 'Export path breadcrumb',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'path_breadcrumbs_export_form',
4,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'file' => 'path_breadcrumbs_ui.admin.inc',
);
$items['admin/structure/path-breadcrumbs/import'] = array(
'title' => 'Import path breadcrumb',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'path_breadcrumbs_import_form',
),
'access arguments' => array(
'administer path breadcrumbs',
),
'file' => 'path_breadcrumbs_ui.admin.inc',
'type' => MENU_LOCAL_ACTION,
);
$items['admin/structure/path-breadcrumbs/edit/%path_breadcrumbs_ui_cache'] = array(
'title' => 'Edit path breadcrumbs',
'page callback' => 'path_breadcrumbs_ui_edit_page',
'page arguments' => array(
4,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'file' => 'path_breadcrumbs_ui.pages.inc',
);
$items['admin/structure/path-breadcrumbs/edit/%path_breadcrumbs_ui_cache/main'] = array(
'title' => 'Edit path breadcrumbs',
'type' => MENU_DEFAULT_LOCAL_TASK,
'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE,
'weight' => -10,
);
$items['admin/structure/path-breadcrumbs/edit/%path_breadcrumbs_ui_cache/ajax/%'] = array(
'page callback' => 'path_breadcrumbs_ui_edit_form_ajax_links',
'page arguments' => array(
4,
6,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
'file' => 'path_breadcrumbs_ui.pages.inc',
);
$items['admin/structure/path-breadcrumbs/delete/%path_breadcrumbs_ui_cache'] = array(
'title' => 'Delete path breadcrumbs',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'path_breadcrumbs_ui_delete_form',
4,
),
'access arguments' => array(
'administer path breadcrumbs',
),
);
$items['admin/structure/path-breadcrumbs/disable/%path_breadcrumbs_ui_cache'] = array(
'title' => 'Disable path breadcrumbs',
'page callback' => 'path_breadcrumbs_ui_disable_breadcrumbs_page',
'page arguments' => array(
4,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'type' => MENU_CALLBACK,
'file' => 'path_breadcrumbs_ui.pages.inc',
);
$items['admin/structure/path-breadcrumbs/enable/%path_breadcrumbs_ui_cache'] = array(
'title' => 'Enable path breadcrumbs',
'page callback' => 'path_breadcrumbs_ui_enable_breadcrumbs_page',
'page arguments' => array(
4,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'type' => MENU_CALLBACK,
'file' => 'path_breadcrumbs_ui.pages.inc',
);
$items['admin/structure/path-breadcrumbs/arguments/settings/%/%'] = array(
'page callback' => 'path_breadcrumbs_ui_configure_arguments_page',
'page arguments' => array(
5,
6,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
'file' => 'path_breadcrumbs_ui.pages.inc',
);
$items['admin/structure/path-breadcrumbs/arguments/change/%/%'] = array(
'page callback' => 'path_breadcrumbs_ui_change_arguments_page',
'page arguments' => array(
5,
6,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
'file' => 'path_breadcrumbs_ui.pages.inc',
);
$items['path_breadcrumbs_ui/%path_breadcrumbs_ui_cache'] = array(
'page callback' => 'path_breadcrumbs_ui_tokens_ajax_autocomplete',
'page arguments' => array(
1,
2,
),
'access arguments' => array(
'administer path breadcrumbs',
),
'type' => MENU_CALLBACK,
'file' => 'path_breadcrumbs_ui.pages.inc',
);
return $items;
}