You are here

function panels_cache_get in Panels 7.3

Same name and namespace in other branches
  1. 5.2 panels.module \panels_cache_get()
  2. 6.3 panels.module \panels_cache_get()
  3. 6.2 panels.module \panels_cache_get()

Get an object from cache.

1 call to panels_cache_get()
panels_edit_cache_get in ./panels.module
Panels Editor Cache Get.

File

./panels.module, line 1660
Core functionality for the Panels engine.

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);
}