You are here

function ctools_cache_set in Chaos Tool Suite (ctools) 7

Store data in an indirect cache.

Parameters

string $mechanism: A string containing the plugin name, and an optional data element to send to the plugin separated by two colons.

string $key: The key used to identify the cache.

mixed $object: The data to cache. This can be any format as the plugin does not necessarily have knowledge of what is being cached.

1 call to ctools_cache_set()
ctools_wizard_multistep_form in includes/wizard.inc
Display a multi-step form.

File

includes/cache.inc, line 78
Plugins to handle cache-indirection.

Code

function ctools_cache_set($mechanism, $key, $object) {
  return ctools_cache_operation($mechanism, $key, 'set', $object);
}