You are here

function themekey_ui_menu in ThemeKey 6.3

Same name and namespace in other branches
  1. 6.4 themekey_ui.module \themekey_ui_menu()
  2. 6 themekey_ui.module \themekey_ui_menu()
  3. 6.2 themekey_ui.module \themekey_ui_menu()
  4. 7.3 themekey_ui.module \themekey_ui_menu()
  5. 7 themekey_ui.module \themekey_ui_menu()
  6. 7.2 themekey_ui.module \themekey_ui_menu()

Implements hook_menu().

File

./themekey_ui.module, line 162
ThemeKey UI is an extension for ThemeKey

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;
}