You are here

function ctools_modules_disabled in Chaos Tool Suite (ctools) 7

Implements hook_modules_disabled().

Clear caches for removing disabled plugins.

File

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

Code

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