You are here

function role_theme_switcher_menu in Role Theme Switcher 6

Same name and namespace in other branches
  1. 5.2 role_theme_switcher.module \role_theme_switcher_menu()
  2. 7 role_theme_switcher.module \role_theme_switcher_menu()

Implementation of hook_menu()

File

./role_theme_switcher.module, line 29

Code

function role_theme_switcher_menu() {
  $items['admin/user/themes'] = array(
    'type' => MENU_NORMAL_ITEM,
    'title' => 'Role theme switcher',
    'description' => 'Settings for role theme switcher.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'role_theme_switcher_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}