function registry_rebuild

Rescans all enabled modules and rebuilds the registry.

Rescans all code in modules or includes directories, storing the location of each interface or class in the database.

Related topics

2 calls to registry_rebuild()
drupal_flush_all_caches in drupal/includes/common.inc
Flushes all cached data on the site.
simpletest_clean_environment in drupal/modules/simpletest/simpletest.module
Remove all temporary database tables and directories.

File

drupal/includes/bootstrap.inc, line 3508
Functions that need to be loaded on every Drupal request.

Code

function registry_rebuild() {
  system_rebuild_module_data();
  registry_update();
}