You are here

function ctools_static_reset in Chaos Tool Suite (ctools) 6

Reset one or all centrally stored static variable(s). Modeled after Drupal 7's drupal_static_reset().

Parameters

$name: Name of the static variable to reset. Omit to reset all variables.

2 calls to ctools_static_reset()
ctools_export_load_object_reset in includes/export.inc
Reset all static caches in ctools_export_load_object() or static caches for a given table in ctools_export_load_object().
ctools_get_plugins_reset in includes/plugins.inc
Reset all static caches that affect the result of ctools_get_plugins().

File

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

Code

function ctools_static_reset($name) {
  ctools_static($name, NULL, TRUE);
}