You are here

function ctools_get_plugins_reset in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/plugins.inc \ctools_get_plugins_reset()

Reset all static caches that affect the result of ctools_get_plugins().

1 call to ctools_get_plugins_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().

File

includes/plugins.inc, line 280
Contains routines to organize and load plugins. It allows a special variation of the hook system so that plugins can be kept in separate .inc files, and can be either loaded all at once or loaded only when necessary.

Code

function ctools_get_plugins_reset() {
  ctools_static_reset('ctools_plugin_load_includes');
  ctools_static_reset('ctools_plugin_api_info');
}