You are here

function themekey_compat_menu in ThemeKey 7.3

Same name and namespace in other branches
  1. 7 themekey_compat.module \themekey_compat_menu()
  2. 7.2 themekey_compat.module \themekey_compat_menu()

Implements hook_menu().

File

./themekey_compat.module, line 16
Integration of different theme switching modules into ThemeKey and its theme switching rule chain.

Code

function themekey_compat_menu() {
  $items = array();
  $items['admin/config/user-interface/themekey/settings/compat'] = array(
    'title' => 'Compatibility',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer themekey settings',
    ),
    'file' => 'themekey_compat_admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'themekey_compat_settings_form',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 11,
  );
  return $items;
}