You are here

function panels_edit_cache_get in Panels 6.3

Same name and namespace in other branches
  1. 7.3 panels.module \panels_edit_cache_get()

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

Related topics

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

... See full list

File

./panels.module, line 1311
panels.module

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);
}