Refreshes the list of bootstrap modules.
This is called internally by module_enable/disable() to flag modules that implement hooks used during bootstrap, such as hook_boot(). These modules are loaded earlier to invoke the hooks.
function _system_update_bootstrap_status() {
$bootstrap_modules = array();
foreach (bootstrap_hooks() as $hook) {
foreach (module_implements($hook) as $module) {
$bootstrap_modules[$module] = drupal_get_filename('module', $module);
}
}
state()
->set('system.module.bootstrap', $bootstrap_modules);
}