function panels_cache_get in Panels 6.3
Same name and namespace in other branches
- 5.2 panels.module \panels_cache_get()
- 6.2 panels.module \panels_cache_get()
- 7.3 panels.module \panels_cache_get()
Get an object from cache.
Related topics
1 call to panels_cache_get()
- panels_edit_cache_get in ./
panels.module - Method to allow modules to provide their own caching mechanism for the display editor.
File
- ./
panels.module, line 1259 - panels.module
Code
function panels_cache_get($obj, $did, $skip_cache = FALSE) {
ctools_include('object-cache');
// we often store contexts in cache, so let's just make sure we can load
// them.
ctools_include('context');
return ctools_object_cache_get($obj, 'panels_display:' . $did, $skip_cache);
}