function panels_edit_cache_set in Panels 6.3
Same name and namespace in other branches
- 7.3 panels.module \panels_edit_cache_set()
Method to allow modules to provide their own caching mechanism for the display editor.
Related topics
23 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 - AJAX responder to remove an existing row, column or region from a flexible layout.
- panels_ajax_flexible_edit_resize in plugins/
layouts/ flexible/ flexible.inc - AJAX responder to store resize information when the user adjusts the splitter.
- panels_ajax_flexible_edit_reuse in plugins/
layouts/ flexible/ flexible.inc - AJAX form to bring up the "reuse" modal.
File
- ./
panels.module, line 1325 - panels.module
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);
}