You are here

function ctools_export_ui_context_cache_set in Chaos Tool Suite (ctools) 6

Cache callback on behalf of ctools_export_ui.

File

./ctools.module, line 741
CTools primary module file.

Code

function ctools_export_ui_context_cache_set($plugin_name, $key, $item) {
  ctools_include('export-ui');
  $plugin = ctools_get_export_ui($plugin_name);
  $handler = ctools_export_ui_get_handler($plugin);
  if ($handler) {
    return $handler
      ->edit_cache_set_key($item, $key);
  }
}