You are here

function themekey_theme in ThemeKey 7.2

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. 6.3 themekey.module \themekey_theme()
  6. 7.3 themekey.module \themekey_theme()
  7. 7 themekey.module \themekey_theme()

Implements hook_theme().

File

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

Code

function themekey_theme() {
  $items = array(
    'themekey_rule_chain_form' => array(
      'file' => 'themekey_admin.inc',
      'render element' => 'form',
    ),
    'themekey_page_cache_icon' => array(
      'file' => 'themekey_admin.inc',
      'variables' => array(
        'page_cache_support' => 0,
      ),
    ),
  );
  return $items;
}