You are here

function panels_edit_cache_set in Panels 7.3

Same name and namespace in other branches
  1. 6.3 panels.module \panels_edit_cache_set()

Panels Editor Cache Set.

Method to allow modules to provide their own caching mechanism for the display editor.

25 calls to panels_edit_cache_set()
panels_ajax_edit_pane_next in plugins/display_renderers/panels_renderer_editor.class.php
Handle the 'next' click on the add/edit pane form wizard.
panels_ajax_flexible_edit_add in plugins/layouts/flexible/flexible.inc
AJAX responder to add a new row, column or region to a flexible layout.
panels_ajax_flexible_edit_remove in plugins/layouts/flexible/flexible.inc
Panels remove AJAX responder.
panels_ajax_flexible_edit_resize in plugins/layouts/flexible/flexible.inc
AJAX responder to store resize information when the user adjusts splitter.
panels_ajax_flexible_edit_reuse in plugins/layouts/flexible/flexible.inc
AJAX form to bring up the "reuse" modal.

... See full list

File

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

Code

function panels_edit_cache_set($cache) {
  $cache_key = $cache->display->cache_key;
  if (strpos($cache_key, ':') !== FALSE) {
    list($module, $argument) = explode(':', $cache_key, 2);
    return module_invoke($module, 'panels_cache_set', $argument, $cache);
  }

  // Fall back to our normal method.
  return panels_cache_set('display', $cache_key, $cache);
}