You are here

function themekey_get_page_cache_support_desriptions in ThemeKey 7.3

Same name and namespace in other branches
  1. 6.4 themekey_admin.inc \themekey_get_page_cache_support_desriptions()
  2. 6.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()

@todo Please document this function.

See also

http://drupal.org/node/1354

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
@todo Please document this function.

File

./themekey_admin.inc, line 1038

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, such as "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/config/user-interface/themekey/settings',
      )), 'admin/config/user-interface/themekey/settings'),
    )),
  );
}