function panels_simple_cache_set_cache in Panels 7.3
Same name and namespace in other branches
- 5.2 panels_simple_cache/panels_simple_cache.module \panels_simple_cache_set_cache()
- 6.3 plugins/cache/simple.inc \panels_simple_cache_set_cache()
- 6.2 panels_simple_cache/panels_simple_cache.module \panels_simple_cache_set_cache()
Set cached content.
1 string reference to 'panels_simple_cache_set_cache'
- simple.inc in plugins/
cache/ simple.inc - Provides a simple time-based caching option for panel panes.
File
- plugins/
cache/ simple.inc, line 43 - Provides a simple time-based caching option for panel panes.
Code
function panels_simple_cache_set_cache($conf, $content, $display, $args, $contexts, $pane = NULL) {
$cid = panels_simple_cache_get_id($conf, $display, $args, $contexts, $pane);
cache_set($cid, $content, 'cache_panels');
}