function system_list_reset in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/includes/module.inc \system_list_reset()
Resets all system_list() caches.
4 calls to system_list_reset()
- ConfigImportAllTest::testInstallUninstall in core/
modules/ config/ src/ Tests/ ConfigImportAllTest.php - Tests that a fixed set of modules can be installed and uninstalled.
- ThemeHandler::systemListReset in core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php - Wraps system_list_reset().
- ThemeInstaller::systemListReset in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - Wraps system_list_reset().
- update_set_schema in core/
includes/ update.inc - Forces a module to a given schema version.
File
- core/
includes/ module.inc, line 58 - 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::cache('bootstrap')
->delete('system_list');
}