function ctools_get_plugins_reset in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 includes/plugins.inc \ctools_get_plugins_reset()
Reset all static caches that affect the result of ctools_get_plugins().
4 calls 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().
- ctools_export_ui_menu in includes/
export-ui.menu.inc - Delegated implementation of hook_menu().
- ctools_modules_disabled in ./
ctools.module - Implements hook_modules_disabled().
- ctools_modules_enabled in ./
ctools.module - Implements hook_modules_enabled().
File
- includes/
plugins.inc, line 410 - 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() {
drupal_static_reset('ctools_plugins');
drupal_static_reset('ctools_plugin_setup');
drupal_static_reset('ctools_plugin_load_includes');
drupal_static_reset('ctools_plugin_api_info');
}