You are here

public function ctools_export_ui::edit_cache_clear 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_clear()

Clear the object cache for the currently edited item.

2 calls to ctools_export_ui::edit_cache_clear()
ctools_export_ui::edit_wizard_cancel in plugins/export_ui/ctools_export_ui.class.php
Wizard 'cancel' callback when using a wizard to edit an item.
ctools_export_ui::edit_wizard_finish in plugins/export_ui/ctools_export_ui.class.php
Wizard 'cancel' callback when using a wizard to edit an item.

File

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

Class

ctools_export_ui
Base class for export UI.

Code

public function edit_cache_clear($item, $op = 'edit') {
  ctools_include('object-cache');
  $name = $this
    ->edit_cache_get_key($item, $op);
  return ctools_object_cache_clear('ctui_' . $this->plugin['name'], $name);
}