function popup_ui_menu in Popup 8
Same name and namespace in other branches
- 7 modules/popup_ui/popup_ui.module \popup_ui_menu()
- 7.x modules/popup_ui/popup_ui.module \popup_ui_menu()
- 6.x modules/popup_ui/popup_ui.module \popup_ui_menu()
Implementation of hook_menu
File
- modules/
popup_ui/ popup_ui.module, line 52
Code
function popup_ui_menu() {
return array(
'admin/config/user-interface/popup/settings' => array(
'title' => 'Global settings',
'type' => MENU_DEFAULT_LOCAL_TASK,
),
'admin/config/user-interface/popup/formats' => array(
'access arguments' => array(
'administer popup elements',
),
'description' => 'Manage popup formats available to Views and CCK',
'file' => 'includes/popup_ui.admin.inc',
'page arguments' => array(
'popup_ui_form_formatters',
),
'page callback' => 'drupal_get_form',
'title' => 'Formats',
'type' => MENU_LOCAL_TASK,
'weight' => 1,
),
'admin/config/user-interface/popup/formats/delete' => array(
'access arguments' => array(
'administer popup elements',
),
'file' => 'includes/popup_ui.admin.inc',
'page callback' => 'popup_ui_delete_format',
'type' => MENU_CALLBACK,
),
'admin/config/user-interface/popup/formats/whipe' => array(
'access arguments' => array(
'administer popup elements',
),
'file' => 'includes/popup_ui.admin.inc',
'page callback' => 'popup_ui_whipe_formats',
'type' => MENU_CALLBACK,
),
'admin/config/user-interface/popup/formats/reset' => array(
'access arguments' => array(
'administer popup elements',
),
'file' => 'includes/popup_ui.admin.inc',
'page callback' => 'popup_ui_reset',
'type' => MENU_CALLBACK,
),
);
}