You are here

function registry_rebuild in Drupal 7

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 includes/common.inc
Flushes all cached data on the site.
simpletest_clean_environment in modules/simpletest/simpletest.module
Remove all temporary database tables and directories.

File

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

Code

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