function ctools_modules_enabled in Chaos Tool Suite (ctools) 7
Implements hook_modules_enabled().
Clear caches for detecting new plugins.
File
- ./
ctools.module, line 1095 - CTools primary module file.
Code
function ctools_modules_enabled($modules) {
ctools_include('plugins');
ctools_get_plugins_reset();
cache_clear_all('ctools_plugin_files:', 'cache', TRUE);
}