function themekey_ui_menu in ThemeKey 7
Same name and namespace in other branches
- 6.4 themekey_ui.module \themekey_ui_menu()
- 6 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.2 themekey_ui.module \themekey_ui_menu()
Implements hook_menu().
File
- ./
themekey_ui.module, line 194 - ThemeKey UI is an extension for ThemeKey
Code
function themekey_ui_menu() {
$items = array();
$items['admin/config/user-interface/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;
}