You are here

function styleswitcher_menu in Style Switcher 7

Same name and namespace in other branches
  1. 6.2 styleswitcher.module \styleswitcher_menu()
  2. 7.2 styleswitcher.module \styleswitcher_menu()

Implements hook_menu().

File

./styleswitcher.module, line 63
Framework for themes to easily add stylesheet switching functionality.

Code

function styleswitcher_menu() {
  $items['admin/config/system/styleswitcher'] = array(
    'title' => 'Styleswitcher',
    'description' => 'Configure Styleswitcher module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'styleswitcher_admin',
    ),
    'access arguments' => array(
      'administer site',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}