You are here

function themekey_themekey_simpletest_themekey_custom_theme_alter in ThemeKey 7.3

Implements hook_themekey_custom_theme_alter().

File

modules/themekey.themekey_simpletest.inc, line 39

Code

function themekey_themekey_simpletest_themekey_custom_theme_alter(&$custom_theme, $rules_matched) {
  $rule = reset($rules_matched);
  if ('themekey_simpletest:custom_theme_alter_test' == $rule->property) {
    $custom_theme = 'seven';
  }
}