function panels_edit_cache_get in Panels 7.3
Same name and namespace in other branches
- 6.3 panels.module \panels_edit_cache_get()
Panels Editor Cache Get.
Method to allow modules to provide their own caching mechanism for the display editor.
7 calls to panels_edit_cache_get()
- panels_ajax_router in ./
panels.module - Route Panels' AJAX calls to the correct object.
- panels_edit_cache_load in ./
panels.module - Menu loader function to load a cache item for Panels AJAX.
- panels_layouts_ui::edit_form in plugins/
export_ui/ panels_layouts_ui.class.php - Provide the actual editing form.
- panels_mini_ui::edit_form_content in panels_mini/
plugins/ export_ui/ panels_mini_ui.class.php - panels_page_wizard_add_content in includes/
page-wizard.inc - Add content editor form helper for panels page wizards.
File
- ./
panels.module, line 1713 - Core functionality for the Panels engine.
Code
function panels_edit_cache_get($cache_key) {
if (strpos($cache_key, ':') !== FALSE) {
list($module, $argument) = explode(':', $cache_key, 2);
return module_invoke($module, 'panels_cache_get', $argument);
}
// Fall back to our normal method.
return panels_cache_get('display', $cache_key);
}