You are here

function themekey_get_page_cache_support_desriptions in ThemeKey 6.4

Same name and namespace in other branches
  1. 6.3 themekey_admin.inc \themekey_get_page_cache_support_desriptions()
  2. 7.3 themekey_admin.inc \themekey_get_page_cache_support_desriptions()
  3. 7 themekey_admin.inc \themekey_get_page_cache_support_desriptions()
  4. 7.2 themekey_admin.inc \themekey_get_page_cache_support_desriptions()
2 calls to themekey_get_page_cache_support_desriptions()
themekey_help_properties_form in ./themekey_help.inc
Uses Drupal's form builder to format ThemeKey's help properties
theme_themekey_page_cache_icon in ./themekey_admin.inc

File

./themekey_admin.inc, line 797

Code

function themekey_get_page_cache_support_desriptions() {
  return array(
    THEMEKEY_PAGECACHE_UNSUPPORTED => t('Unsupported! If you enable page caching on your system you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, e.g. "user:uid > 0".'),
    THEMEKEY_PAGECACHE_SUPPORTED => t('Supported'),
    THEMEKEY_PAGECACHE_TIMEBASED => t('Supported if you enable "Cron cleans up page cache" at !link and run your cron frequently enough. During the cron run, ThemeKey deletes the page cache if necessary, depending on your Theme Switching Rules.', array(
      '!link' => l(t('!path', array(
        '!path' => '/admin/settings/themekey/settings',
      )), 'admin/settings/themekey/settings'),
    )),
  );
}