You are here

function themekey_theme in ThemeKey 6.3

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

Implements hook_theme().

File

./themekey.module, line 28
ThemeKey is designed as a generic theme switching module.

Code

function themekey_theme() {
  $items = array(
    'themekey_rule_chain_form' => array(
      'file' => 'themekey_admin.inc',
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'themekey_debug_messages' => array(
      'template' => 'themekey-debug-messages',
      'arguments' => array(
        'messages' => array(),
      ),
    ),
    'themekey_page_cache_icon' => array(
      'file' => 'themekey_admin.inc',
      'arguments' => array(
        'page_cache_support' => 0,
      ),
    ),
  );
  return $items;
}