function system_list_reset
7.x module.inc | system_list_reset() |
Resets all system_list() caches.
5 calls to system_list_reset()
- list_themes in drupal-7.x/
includes/ theme.inc - Returns a list of all currently available themes.
- module_disable in drupal-7.x/
includes/ module.inc - Disables a given set of modules.
- module_enable in drupal-7.x/
includes/ module.inc - Enables or installs a given list of modules.
- system_update_files_database in drupal-7.x/
modules/ system/ system.module - Updates the records in the system table based on the files array.
- _system_update_bootstrap_status in drupal-7.x/
modules/ system/ system.module - Refresh bootstrap column in the system table.
File
- drupal-7.x/
includes/ module.inc, line 224 - API for loading and interacting with Drupal modules.
Code
function system_list_reset() {
drupal_static_reset('system_list');
drupal_static_reset('system_rebuild_module_data');
drupal_static_reset('list_themes');
cache_clear_all('bootstrap_modules', 'cache_bootstrap');
cache_clear_all('system_list', 'cache_bootstrap');
}