You are here

function panels_node_panels_cache_save in Panels 7.3

React to a cache save and save the display and clear cache.

File

panels_node/panels_node.module, line 473
panels_node.module

Code

function panels_node_panels_cache_save($nid, $cache) {
  panels_save_display($cache->display);
  ctools_include('object-cache');
  ctools_object_cache_clear('panels_node_display_cache', $nid);
}