function panels_simple_cache_panels_cache in Panels 6.2
Same name and namespace in other branches
- 5.2 panels_simple_cache/panels_simple_cache.module \panels_simple_cache_panels_cache()
Implementation of hook_panels_cache()
File
- panels_simple_cache/
panels_simple_cache.module, line 46 - panels_simple_cache.module
Code
function panels_simple_cache_panels_cache() {
$cache['simple'] = array(
'title' => t("Simple cache"),
'description' => t('Simple caching is a time-based cache. This is a hard limit, and once cached it will remain that way until the time limit expires.'),
'cache get' => 'panels_simple_cache_get_cache',
'cache set' => 'panels_simple_cache_set_cache',
'cache clear' => 'panels_simple_cache_clear_cache',
'settings form' => 'panels_simple_cache_settings_form',
'settings form submit' => 'panels_simple_cache_settings_form_submit',
);
return $cache;
}