1.20.x module.inc system_list_reset()

Resets all system_list() caches.

File

includes/module.inc, line 228
API for loading and interacting with Backdrop modules.

Code

function system_list_reset() {
  backdrop_static_reset('system_list');
  backdrop_static_reset('system_rebuild_module_data');
  backdrop_static_reset('list_themes');
  cache('bootstrap')->deleteMultiple(array('bootstrap_modules', 'system_list'));
}