function hook_panels_cache_set in Panels 7.3
Allow modules to provide their own caching mechanism for the display editor.
Parameters
string $argument: The second half of the cache key. Full key module:TASK_NAME:HANDLER_NAME passed part: TASK_NAME:HANDLER_NAME
object $cache: The display to cache.
4 functions implement hook_panels_cache_set()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- panels_mini_panels_cache_set in panels_mini/
panels_mini.module - Store a display edit in progress in the page cache.
- panels_node_panels_cache_set in panels_node/
panels_node.module - Store a display edit in progress in the panels cache.
- panels_page_wizard_panels_cache_set in ./
panels.module - Store a display edit in progress in the page cache.
- panel_context_panels_cache_set in ./
panels.module - Store a display edit in progress in the page cache.
1 invocation of hook_panels_cache_set()
- panels_edit_cache_set in ./
panels.module - Panels Editor Cache Set.
File
- ./
panels.api.php, line 17 - Hooks provided by Panels.
Code
function hook_panels_cache_set($argument, $cache) {
list($handler, $item) = _panels_mini_panels_cache_get($argument);
$item->mini_panels_display_cache = $cache;
$handler
->edit_cache_set_key($item, $argument);
}