You are here

public function ctools_export_ui::edit_cache_set in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 plugins/export_ui/ctools_export_ui.class.php \ctools_export_ui::edit_cache_set()

Cache the item currently currently being edited.

1 call to ctools_export_ui::edit_cache_set()
ctools_export_ui::edit_wizard_next in plugins/export_ui/ctools_export_ui.class.php
Wizard 'next' callback when using a wizard to edit an item.

File

plugins/export_ui/ctools_export_ui.class.php, line 991

Class

ctools_export_ui
Base class for export UI.

Code

public function edit_cache_set($item, $op = 'edit') {
  ctools_include('object-cache');
  $name = $this
    ->edit_cache_get_key($item, $op);
  return $this
    ->edit_cache_set_key($item, $name);
}