function ctools_modules_enabled

Implements hook_modules_enabled().

Clear caches for detecting new plugins.

File

./ctools.module, line 1095

Code

function ctools_modules_enabled($modules) {
    ctools_include('plugins');
    ctools_get_plugins_reset();
    cache_clear_all('ctools_plugin_files:', 'cache', TRUE);
}