You are here

function panelizer_panels_cache_set in Panelizer 7.2

Same name and namespace in other branches
  1. 6 panelizer.module \panelizer_panels_cache_set()
  2. 7.3 panelizer.module \panelizer_panels_cache_set()
  3. 7 panelizer.module \panelizer_panels_cache_set()

Store a display edit in progress in the page cache.

File

./panelizer.module, line 906
The Panelizer module attaches panels to entities, providing default panels and allowing each panel to be configured independently by privileged users.

Code

function panelizer_panels_cache_set($argument, $cache) {
  list($type, $key) = explode(':', $argument, 2);
  ctools_include('object-cache');
  ctools_object_cache_set('panelizer_display_cache', $type . ':' . $key, $cache);
}