You are here

function themekey_modules_disabled in ThemeKey 7.3

Same name and namespace in other branches
  1. 7 themekey.module \themekey_modules_disabled()
  2. 7.2 themekey.module \themekey_modules_disabled()

Implements hook_modules_disabled().

File

./themekey.module, line 457
ThemeKey is designed as a generic theme-switching module.

Code

function themekey_modules_disabled($modules) {
  require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'themekey') . '/themekey_build.inc';

  // Don't call themekey_rebuild() because the callbacks of disabled modules are still available at this point.
  // Simply turn off the properties provided for these modules at this point.
  themekey_scan_modules($modules);
}