You are here

function themekey_redirect_themekey_page_cache_support_alter in ThemeKey 7.3

Implements hook_themekey_page_cache_support_alter().

File

themekey_redirect/themekey_redirect.module, line 268
Define rules to redirect the user to a different domain. The common use-case is to setup sub-domains for mobile sites. In this case you can configure ThemeKey Redirect to detect mobile clients and redirect the user accordingly. In ThemeKey itself you…

Code

function themekey_redirect_themekey_page_cache_support_alter(&$page_cache, $key, $form_id) {
  if ('themekey_redirect_rule_chain_form' == $form_id) {
    $page_cache = THEMEKEY_PAGECACHE_SUPPORTED;
  }
}