You are here

function panels_edit_cache_load in Panels 7.3

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

Menu loader function to load a cache item for Panels AJAX.

This load all of the includes needed to perform AJAX, and loads the cache object and makes sure it is valid.

File

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

Code

function panels_edit_cache_load($cache_key) {
  ctools_include('display-edit', 'panels');
  ctools_include('plugins', 'panels');
  ctools_include('ajax');
  ctools_include('modal');
  ctools_include('context');
  return panels_edit_cache_get($cache_key);
}