function themekey_ui_menu in ThemeKey 6
Same name and namespace in other branches
- 6.4 themekey_ui.module \themekey_ui_menu()
- 6.2 themekey_ui.module \themekey_ui_menu()
- 6.3 themekey_ui.module \themekey_ui_menu()
- 7.3 themekey_ui.module \themekey_ui_menu()
- 7 themekey_ui.module \themekey_ui_menu()
- 7.2 themekey_ui.module \themekey_ui_menu()
Implementation of hook_menu().
File
- ./
themekey_ui.module, line 24
Code
function themekey_ui_menu() {
$items = array();
$items['admin/settings/themekey/settings/ui'] = array(
'title' => 'User Interface',
'access callback' => 'user_access',
'access arguments' => array(
'administer themekey settings',
),
'file' => 'themekey_ui_admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'_themekey_ui_settings_form',
),
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
return $items;
}